#875CD4#875CD4

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

Color values

HEX#875CD4
RGBrgb(135, 92, 212)
HSLhsl(262, 58%, 60%)
HSVhsv(262, 57%, 83%)
CMYKcmyk(36.3%, 56.6%, 0%, 16.9%)
CIE-LABlab(48.96, 43.34, -55.81)
CIE-LCHlch(48.96, 70.66, 307.83°)
OKLaboklab(57.82% 0.0808 -0.1583)
OKLCHoklch(57.82% 0.178 297)
XYZxyz(25.6995, 17.5583, 64.3097)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CD4 #A9D45C
analogous
#5C6DD4 #875CD4 #C35CD4
triadic
#875CD4 #D4875C #5CD487
tetradic
#875CD4 #D45C6D #A9D45C #5CD4C3
square
#875CD4 #D45C6D #A9D45C #5CD4C3
split-complementary
#875CD4 #D4C35C #6DD45C
monochromatic
#4C2690 #6533C0 #875CD4 #AB8CE1 #CEBDEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##875CD4#FFFFFF#000000##FFFFFF
##875CD41.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)
#2075D8
Deuteranopia (green-blind)
#3173D1
Tritanopia (blue-blind)
#75758F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875cd4;
/* rgb */ color: rgb(135, 92, 212);
/* oklch */ color: oklch(57.8% 0.178 297.0);
Tailwind
colors: {
  custom: {
    50: '#ae8ce2',
    500: '#875cd4',
    950: '#000000',
  },
}
SCSS
$custom: #875cd4;
$custom-light: #ae8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#875cd4",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 261.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5782,
    "c": 0.17774,
    "h": 297
  },
  "luminance": 0.17559
}

Semantic roles & 50–950 ramp

primary
#875CD4
secondary
#CCDDAF
accent
#E146AA
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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