#875AEE#875AEE

#875AEE is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.212 H 292.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#875AEE
RGBrgb(135, 90, 238)
HSLhsl(258, 81%, 64%)
HSVhsv(258, 62%, 93%)
CMYKcmyk(43.3%, 62.2%, 0%, 6.7%)
CIE-LABlab(50.26, 51.31, -68.42)
CIE-LCHlch(50.26, 85.52, 306.87°)
OKLaboklab(59.32% 0.0821 -0.1954)
OKLCHoklch(59.32% 0.212 292.8)
XYZxyz(29.0762, 18.6354, 82.9374)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AEE #C1EE5A
analogous
#5A77EE #875AEE #D15AEE
triadic
#875AEE #EE875A #5AEE87
tetradic
#875AEE #EE5A77 #C1EE5A #5AEED1
square
#875AEE #EE5A77 #C1EE5A #5AEED1
split-complementary
#875AEE #EED15A #77EE5A
monochromatic
#4613BA #5F23E8 #875AEE #AF91F4 #D8C9F9

Accessibility & contrast

On white

4.44
#875AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#875AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875AEE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AEE#FFFFFF#000000##000000
##875AEE1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#6A7C9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875aee;
/* rgb */ color: rgb(135, 90, 238);
/* oklch */ color: oklch(59.3% 0.212 292.8);
Tailwind
colors: {
  custom: {
    50: '#b18bf4',
    500: '#875aee',
    950: '#000000',
  },
}
SCSS
$custom: #875aee;
$custom-light: #b18bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#875aee",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 258.243,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59317,
    "c": 0.21191,
    "h": 292.8
  },
  "luminance": 0.18636
}

Semantic roles & 50–950 ramp

primary
#875AEE
secondary
#DCECB8
accent
#DE089D
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #875AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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