#875AC0#875AC0

#875AC0 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.2% C 0.156 H 302.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#875AC0
RGBrgb(135, 90, 192)
HSLhsl(266, 45%, 55%)
HSVhsv(266, 53%, 75%)
CMYKcmyk(29.7%, 53.1%, 0%, 24.7%)
CIE-LABlab(47.33, 39.34, -46.93)
CIE-LCHlch(47.33, 61.24, 309.98°)
OKLaboklab(56.23% 0.0826 -0.1323)
OKLCHoklch(56.23% 0.156 302)
XYZxyz(23.1601, 16.2690, 51.7790)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AC0 #93C05A
analogous
#5A60C0 #875AC0 #BA5AC0
triadic
#875AC0 #C0875A #5AC087
tetradic
#875AC0 #C05A60 #93C05A #5AC0BA
square
#875AC0 #C05A60 #93C05A #5AC0BA
split-complementary
#875AC0 #C0BA5A #60C05A
monochromatic
#4C2C73 #693DA0 #875AC0 #A786D1 #C7B3E2

Accessibility & contrast

On white

4.94
#875AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#875AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875AC0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AC0#FFFFFF#000000##FFFFFF
##875AC01.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC3
Deuteranopia (green-blind)
#4370BE
Tritanopia (blue-blind)
#7C6D84
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #875ac0;
/* rgb */ color: rgb(135, 90, 192);
/* oklch */ color: oklch(56.2% 0.156 302.0);
Tailwind
colors: {
  custom: {
    50: '#ad8ad3',
    500: '#875ac0',
    950: '#000000',
  },
}
SCSS
$custom: #875ac0;
$custom-light: #ad8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#875ac0",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 266.471,
    "s": 44.737,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56232,
    "c": 0.15596,
    "h": 302
  },
  "luminance": 0.16269
}

Semantic roles & 50–950 ramp

primary
#875AC0
secondary
#BDD0A6
accent
#D4539B
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #875AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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