#875FE6#875FE6

#875FE6 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.196 H 293.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#875FE6
RGBrgb(135, 95, 230)
HSLhsl(258, 73%, 64%)
HSVhsv(258, 59%, 90%)
CMYKcmyk(41.3%, 58.7%, 0%, 9.8%)
CIE-LABlab(50.74, 46.44, -63.13)
CIE-LCHlch(50.74, 78.37, 306.34°)
OKLaboklab(59.5% 0.077 -0.1798)
OKLCHoklch(59.5% 0.196 293.2)
XYZxyz(28.3630, 19.0477, 77.0298)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FE6 #BEE65F
analogous
#5F7AE6 #875FE6 #CA5FE6
triadic
#875FE6 #E6875F #5FE687
tetradic
#875FE6 #E65F7A #BEE65F #5FE6CA
square
#875FE6 #E65F7A #BEE65F #5FE6CA
split-complementary
#875FE6 #E6CA5F #7AE65F
monochromatic
#471BAF #5F2ADE #875FE6 #AF94EE #D6C9F7

Accessibility & contrast

On white

4.37
#875FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#875FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FE6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FE6#FFFFFF#000000##000000
##875FE61.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#1476E3
Tritanopia (blue-blind)
#6D7D99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #875fe6;
/* rgb */ color: rgb(135, 95, 230);
/* oklch */ color: oklch(59.5% 0.196 293.2);
Tailwind
colors: {
  custom: {
    50: '#b08eef',
    500: '#875fe6',
    950: '#000000',
  },
}
SCSS
$custom: #875fe6;
$custom-light: #b08eef;
$custom-dark: #000000;
JSON
{
  "hex": "#875fe6",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 257.778,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59499,
    "c": 0.19565,
    "h": 293.2
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

primary
#875FE6
secondary
#DAE8B9
accent
#D5109B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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