#875FE1#875FE1

#875FE1 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.190 H 294.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#875FE1
RGBrgb(135, 95, 225)
HSLhsl(258, 68%, 63%)
HSVhsv(258, 58%, 88%)
CMYKcmyk(40%, 57.8%, 0%, 11.8%)
CIE-LABlab(50.42, 45.10, -60.84)
CIE-LCHlch(50.42, 75.73, 306.55°)
OKLaboklab(59.16% 0.0771 -0.1731)
OKLCHoklch(59.16% 0.19 294)
XYZxyz(27.6709, 18.7709, 73.3848)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FE1 #B9E15F
analogous
#5F78E1 #875FE1 #C85FE1
triadic
#875FE1 #E1875F #5FE187
tetradic
#875FE1 #E15F78 #B9E15F #5FE1C8
square
#875FE1 #E15F78 #B9E15F #5FE1C8
split-complementary
#875FE1 #E1C85F #78E15F
monochromatic
#491FA6 #602BD7 #875FE1 #AE93EB #D4C6F4

Accessibility & contrast

On white

4.42
#875FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#875FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FE1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FE1#FFFFFF#000000##000000
##875FE11.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A79E5
Deuteranopia (green-blind)
#2276DE
Tritanopia (blue-blind)
#707B97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875fe1;
/* rgb */ color: rgb(135, 95, 225);
/* oklch */ color: oklch(59.2% 0.190 294.0);
Tailwind
colors: {
  custom: {
    50: '#af8eeb',
    500: '#875fe1',
    950: '#000000',
  },
}
SCSS
$custom: #875fe1;
$custom-light: #af8eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#875fe1",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 258.462,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59158,
    "c": 0.18951,
    "h": 294
  },
  "luminance": 0.18772
}

Semantic roles & 50–950 ramp

primary
#875FE1
secondary
#D7E5B6
accent
#D01597
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875FE1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#875FE1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva