#875ED5#875ED5

#875ED5 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.176 H 296.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#875ED5
RGBrgb(135, 94, 213)
HSLhsl(261, 59%, 60%)
HSVhsv(261, 56%, 84%)
CMYKcmyk(36.6%, 55.9%, 0%, 16.5%)
CIE-LABlab(49.45, 42.48, -55.59)
CIE-LCHlch(49.45, 69.96, 307.39°)
OKLaboklab(58.2% 0.0783 -0.1577)
OKLCHoklch(58.2% 0.176 296.4)
XYZxyz(26.0016, 17.9600, 65.0346)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875ED5 #ACD55E
analogous
#5E71D5 #875ED5 #C25ED5
triadic
#875ED5 #D5875E #5ED587
tetradic
#875ED5 #D55E71 #ACD55E #5ED5C2
square
#875ED5 #D55E71 #ACD55E #5ED5C2
split-complementary
#875ED5 #D5C25E #71D55E
monochromatic
#4B2692 #6433C3 #875ED5 #AB8FE2 #CFBFEE

Accessibility & contrast

On white

4.57
#875ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#875ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875ED5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875ED5#FFFFFF#000000##000000
##875ED51.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2576D9
Deuteranopia (green-blind)
#3374D2
Tritanopia (blue-blind)
#757790
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875ed5;
/* rgb */ color: rgb(135, 94, 213);
/* oklch */ color: oklch(58.2% 0.176 296.4);
Tailwind
colors: {
  custom: {
    50: '#ae8de3',
    500: '#875ed5',
    950: '#000000',
  },
}
SCSS
$custom: #875ed5;
$custom-light: #ae8de3;
$custom-dark: #000000;
JSON
{
  "hex": "#875ed5",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 260.672,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58202,
    "c": 0.17606,
    "h": 296.4
  },
  "luminance": 0.1796
}

Semantic roles & 50–950 ramp

primary
#875ED5
secondary
#CEDEB1
accent
#C61F8D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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