#875EE2#875EE2

#875EE2 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.192 H 294.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#875EE2
RGBrgb(135, 94, 226)
HSLhsl(259, 69%, 63%)
HSVhsv(259, 58%, 89%)
CMYKcmyk(40.3%, 58.4%, 0%, 11.4%)
CIE-LABlab(50.27, 45.92, -61.64)
CIE-LCHlch(50.27, 76.87, 306.69°)
OKLaboklab(59.07% 0.0783 -0.1755)
OKLCHoklch(59.07% 0.192 294)
XYZxyz(27.7182, 18.6466, 74.0755)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EE2 #B9E25E
analogous
#5E77E2 #875EE2 #C95EE2
triadic
#875EE2 #E2875E #5EE287
tetradic
#875EE2 #E25E77 #B9E25E #5EE2C9
square
#875EE2 #E25E77 #B9E25E #5EE2C9
split-complementary
#875EE2 #E2C95E #77E25E
monochromatic
#491EA7 #602AD9 #875EE2 #AE92EB #D4C6F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##875EE2#FFFFFF#000000##000000
##875EE21.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)
#0079E6
Deuteranopia (green-blind)
#1D75DF
Tritanopia (blue-blind)
#6F7B97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875ee2;
/* rgb */ color: rgb(135, 94, 226);
/* oklch */ color: oklch(59.1% 0.192 294.0);
Tailwind
colors: {
  custom: {
    50: '#af8dec',
    500: '#875ee2',
    950: '#000000',
  },
}
SCSS
$custom: #875ee2;
$custom-light: #af8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#875ee2",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 258.636,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5907,
    "c": 0.19213,
    "h": 294
  },
  "luminance": 0.18647
}

Semantic roles & 50–950 ramp

primary
#875EE2
secondary
#D7E6B6
accent
#D11497
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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