#875AD2#875AD2

#875AD2 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.178 H 297.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#875AD2
RGBrgb(135, 90, 210)
HSLhsl(263, 57%, 59%)
HSVhsv(263, 57%, 82%)
CMYKcmyk(35.7%, 57.1%, 0%, 17.6%)
CIE-LABlab(48.41, 43.93, -55.55)
CIE-LCHlch(48.41, 70.82, 308.34°)
OKLaboklab(57.38% 0.0832 -0.1576)
OKLCHoklch(57.38% 0.178 297.8)
XYZxyz(25.2778, 17.1160, 62.9322)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AD2 #A5D25A
analogous
#5A69D2 #875AD2 #C35AD2
triadic
#875AD2 #D2875A #5AD287
tetradic
#875AD2 #D25A69 #A5D25A #5AD2C3
square
#875AD2 #D25A69 #A5D25A #5AD2C3
split-complementary
#875AD2 #D2C35A #69D25A
monochromatic
#4C268C #6633BC #875AD2 #AA8ADF #CDBAEC

Accessibility & contrast

On white

4.75
#875AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#875AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875AD2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AD2#FFFFFF#000000##FFFFFF
##875AD21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D73D6
Deuteranopia (green-blind)
#3072CF
Tritanopia (blue-blind)
#76738D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #875ad2;
/* rgb */ color: rgb(135, 90, 210);
/* oklch */ color: oklch(57.4% 0.178 297.8);
Tailwind
colors: {
  custom: {
    50: '#ae8ae0',
    500: '#875ad2',
    950: '#000000',
  },
}
SCSS
$custom: #875ad2;
$custom-light: #ae8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#875ad2",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 210
  },
  "hsl": {
    "h": 262.5,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57376,
    "c": 0.17818,
    "h": 297.8
  },
  "luminance": 0.17116
}

Semantic roles & 50–950 ramp

primary
#875AD2
secondary
#CADCAC
accent
#E047A7
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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