#875AEF#875AEF

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

Color values

HEX#875AEF
RGBrgb(135, 90, 239)
HSLhsl(258, 82%, 65%)
HSVhsv(258, 62%, 94%)
CMYKcmyk(43.5%, 62.3%, 0%, 6.3%)
CIE-LABlab(50.33, 51.58, -68.86)
CIE-LCHlch(50.33, 86.04, 306.83°)
OKLaboklab(59.39% 0.082 -0.1967)
OKLCHoklch(59.39% 0.213 292.6)
XYZxyz(29.2236, 18.6943, 83.7132)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AEF #C2EF5A
analogous
#5A78EF #875AEF #D25AEF
triadic
#875AEF #EF875A #5AEF87
tetradic
#875AEF #EF5A78 #C2EF5A #5AEFD2
square
#875AEF #EF5A78 #C2EF5A #5AEFD2
split-complementary
#875AEF #EFD25A #78EF5A
monochromatic
#4612BC #5E22EA #875AEF #B092F4 #D8CAFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##875AEF#FFFFFF#000000##000000
##875AEF1.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)
#007AF4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#697D9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875aef;
/* rgb */ color: rgb(135, 90, 239);
/* oklch */ color: oklch(59.4% 0.213 292.6);
Tailwind
colors: {
  custom: {
    50: '#b18bf5',
    500: '#875aef',
    950: '#000000',
  },
}
SCSS
$custom: #875aef;
$custom-light: #b18bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#875aef",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 258.121,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5939,
    "c": 0.2131,
    "h": 292.6
  },
  "luminance": 0.18695
}

Semantic roles & 50–950 ramp

primary
#875AEF
secondary
#DDECB9
accent
#DF079E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #875AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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