#875CEA#875CEA

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

Color values

HEX#875CEA
RGBrgb(135, 92, 234)
HSLhsl(258, 77%, 64%)
HSVhsv(258, 61%, 92%)
CMYKcmyk(42.3%, 60.7%, 0%, 8.2%)
CIE-LABlab(50.39, 49.16, -65.96)
CIE-LCHlch(50.39, 82.26, 306.70°)
OKLaboklab(59.32% 0.0802 -0.1882)
OKLCHoklch(59.32% 0.205 293.1)
XYZxyz(28.6661, 18.7449, 79.9337)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CEA #BFEA5C
analogous
#5C78EA #875CEA #CE5CEA
triadic
#875CEA #EA875C #5CEA87
tetradic
#875CEA #EA5C78 #BFEA5C #5CEACE
square
#875CEA #EA5C78 #BFEA5C #5CEACE
split-complementary
#875CEA #EACE5C #78EA5C
monochromatic
#4717B4 #5F26E3 #875CEA #AF92F1 #D7C8F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##875CEA#FFFFFF#000000##000000
##875CEA1.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)
#007AEF
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#6C7C9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875cea;
/* rgb */ color: rgb(135, 92, 234);
/* oklch */ color: oklch(59.3% 0.205 293.1);
Tailwind
colors: {
  custom: {
    50: '#b08cf2',
    500: '#875cea',
    950: '#000000',
  },
}
SCSS
$custom: #875cea;
$custom-light: #b08cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#875cea",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 258.169,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59324,
    "c": 0.20453,
    "h": 293.1
  },
  "luminance": 0.18746
}

Semantic roles & 50–950 ramp

primary
#875CEA
secondary
#DBEAB8
accent
#D90C9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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