#875ECD#875ECD

#875ECD is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.7% C 0.166 H 298.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#875ECD
RGBrgb(135, 94, 205)
HSLhsl(262, 53%, 59%)
HSVhsv(262, 54%, 80%)
CMYKcmyk(34.1%, 54.1%, 0%, 19.6%)
CIE-LABlab(48.96, 40.39, -51.80)
CIE-LCHlch(48.96, 65.69, 307.95°)
OKLaboklab(57.69% 0.0781 -0.1466)
OKLCHoklch(57.69% 0.166 298.1)
XYZxyz(25.0111, 17.5638, 59.8182)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875ECD #A4CD5E
analogous
#5E6CCD #875ECD #BE5ECD
triadic
#875ECD #CD875E #5ECD87
tetradic
#875ECD #CD5E6C #A4CD5E #5ECDBE
square
#875ECD #CD5E6C #A4CD5E #5ECDBE
split-complementary
#875ECD #CDBE5E #6CCD5E
monochromatic
#4C2A87 #6738B5 #875ECD #AA8DDC #CDBBEA

Accessibility & contrast

On white

4.65
#875ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#875ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875ECD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875ECD#FFFFFF#000000##FFFFFF
##875ECD1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3075D1
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#78748C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875ecd;
/* rgb */ color: rgb(135, 94, 205);
/* oklch */ color: oklch(57.7% 0.166 298.1);
Tailwind
colors: {
  custom: {
    50: '#ae8ddd',
    500: '#875ecd',
    950: '#000000',
  },
}
SCSS
$custom: #875ecd;
$custom-light: #ae8ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#875ecd",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 262.162,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57688,
    "c": 0.16606,
    "h": 298.1
  },
  "luminance": 0.17564
}

Semantic roles & 50–950 ramp

primary
#875ECD
secondary
#C9D9AD
accent
#DC4CA7
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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