#875AC8#875AC8

#875AC8 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.7% C 0.166 H 300.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#875AC8
RGBrgb(135, 90, 200)
HSLhsl(265, 50%, 57%)
HSVhsv(265, 55%, 78%)
CMYKcmyk(32.5%, 55%, 0%, 21.6%)
CIE-LABlab(47.79, 41.36, -50.80)
CIE-LCHlch(47.79, 65.51, 309.16°)
OKLaboklab(56.73% 0.083 -0.1436)
OKLCHoklch(56.73% 0.166 300)
XYZxyz(24.0707, 16.6332, 56.5748)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AC8 #9BC85A
analogous
#5A64C8 #875AC8 #BE5AC8
triadic
#875AC8 #C8875A #5AC887
tetradic
#875AC8 #C85A64 #9BC85A #5AC8BE
square
#875AC8 #C85A64 #9BC85A #5AC8BE
split-complementary
#875AC8 #C8BE5A #64C85A
monochromatic
#4C2A7E #6839AC #875AC8 #A888D7 #CAB6E7

Accessibility & contrast

On white

4.85
#875AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#875AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875AC8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AC8#FFFFFF#000000##FFFFFF
##875AC81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CC
Deuteranopia (green-blind)
#3C71C5
Tritanopia (blue-blind)
#7A7088
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #875ac8;
/* rgb */ color: rgb(135, 90, 200);
/* oklch */ color: oklch(56.7% 0.166 300.0);
Tailwind
colors: {
  custom: {
    50: '#ad8ad9',
    500: '#875ac8',
    950: '#000000',
  },
}
SCSS
$custom: #875ac8;
$custom-light: #ad8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#875ac8",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 264.545,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5673,
    "c": 0.16587,
    "h": 300
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

primary
#875AC8
secondary
#C3D5A8
accent
#DA4EA1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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