#875CEF#875CEF

#875CEF is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.211 H 292.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#875CEF
RGBrgb(135, 92, 239)
HSLhsl(258, 82%, 65%)
HSVhsv(258, 62%, 94%)
CMYKcmyk(43.5%, 61.5%, 0%, 6.3%)
CIE-LABlab(50.73, 50.50, -68.21)
CIE-LCHlch(50.73, 84.87, 306.51°)
OKLaboklab(59.68% 0.0799 -0.1948)
OKLCHoklch(59.68% 0.211 292.3)
XYZxyz(29.3945, 19.0363, 83.7702)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CEF #C4EF5C
analogous
#5C7BEF #875CEF #D15CEF
triadic
#875CEF #EF875C #5CEF87
tetradic
#875CEF #EF5C7B #C4EF5C #5CEFD1
square
#875CEF #EF5C7B #C4EF5C #5CEFD1
split-complementary
#875CEF #EFD15C #7BEF5C
monochromatic
#4513BE #5E24EA #875CEF #B094F4 #D9CBFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##875CEF#FFFFFF#000000##000000
##875CEF1.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)
#007BF4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#697E9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #875cef;
/* rgb */ color: rgb(135, 92, 239);
/* oklch */ color: oklch(59.7% 0.211 292.3);
Tailwind
colors: {
  custom: {
    50: '#b18cf5',
    500: '#875cef',
    950: '#000000',
  },
}
SCSS
$custom: #875cef;
$custom-light: #b18cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#875cef",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 257.551,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59682,
    "c": 0.21052,
    "h": 292.3
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

primary
#875CEF
secondary
#DEECBA
accent
#DF079F
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #875CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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