#875CE9#875CE9

#875CE9 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.203 H 293.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#875CE9
RGBrgb(135, 92, 233)
HSLhsl(258, 76%, 64%)
HSVhsv(258, 61%, 91%)
CMYKcmyk(42.1%, 60.5%, 0%, 8.6%)
CIE-LABlab(50.32, 48.89, -65.51)
CIE-LCHlch(50.32, 81.74, 306.74°)
OKLaboklab(59.25% 0.0802 -0.1868)
OKLCHoklch(59.25% 0.203 293.2)
XYZxyz(28.5228, 18.6876, 79.1793)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CE9 #BEE95C
analogous
#5C77E9 #875CE9 #CD5CE9
triadic
#875CE9 #E9875C #5CE987
tetradic
#875CE9 #E95C77 #BEE95C #5CE9CD
square
#875CE9 #E95C77 #BEE95C #5CE9CD
split-complementary
#875CE9 #E9CD5C #77E95C
monochromatic
#4718B3 #5F26E2 #875CE9 #AF92F0 #D6C8F8

Accessibility & contrast

On white

4.43
#875CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#875CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875CE9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CE9#FFFFFF#000000##000000
##875CE91.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#6C7C9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875ce9;
/* rgb */ color: rgb(135, 92, 233);
/* oklch */ color: oklch(59.3% 0.203 293.2);
Tailwind
colors: {
  custom: {
    50: '#b08cf1',
    500: '#875ce9',
    950: '#000000',
  },
}
SCSS
$custom: #875ce9;
$custom-light: #b08cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#875ce9",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 258.298,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59253,
    "c": 0.20333,
    "h": 293.2
  },
  "luminance": 0.18688
}

Semantic roles & 50–950 ramp

primary
#875CE9
secondary
#DAE9B8
accent
#D80D9A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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