#875EE3#875EE3

#875EE3 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.193 H 293.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#875EE3
RGBrgb(135, 94, 227)
HSLhsl(258, 70%, 63%)
HSVhsv(258, 59%, 89%)
CMYKcmyk(40.5%, 58.6%, 0%, 11%)
CIE-LABlab(50.34, 46.19, -62.10)
CIE-LCHlch(50.34, 77.39, 306.64°)
OKLaboklab(59.14% 0.0782 -0.1768)
OKLCHoklch(59.14% 0.193 293.9)
XYZxyz(27.8558, 18.7017, 74.8003)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EE3 #BAE35E
analogous
#5E78E3 #875EE3 #C95EE3
triadic
#875EE3 #E3875E #5EE387
tetradic
#875EE3 #E35E78 #BAE35E #5EE3C9
square
#875EE3 #E35E78 #BAE35E #5EE3C9
split-complementary
#875EE3 #E3C95E #78E35E
monochromatic
#491DA9 #602ADA #875EE3 #AE92EC #D5C6F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##875EE3#FFFFFF#000000##000000
##875EE31.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)
#0079E7
Deuteranopia (green-blind)
#1A76E0
Tritanopia (blue-blind)
#6F7B98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875ee3;
/* rgb */ color: rgb(135, 94, 227);
/* oklch */ color: oklch(59.1% 0.193 293.9);
Tailwind
colors: {
  custom: {
    50: '#af8ded',
    500: '#875ee3',
    950: '#000000',
  },
}
SCSS
$custom: #875ee3;
$custom-light: #af8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#875ee3",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 258.496,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.19335,
    "h": 293.9
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#875EE3
secondary
#D8E6B6
accent
#D21397
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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