#875CB0#875CB0

#875CB0 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.6% C 0.133 H 306.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#875CB0
RGBrgb(135, 92, 176)
HSLhsl(271, 35%, 53%)
HSVhsv(271, 48%, 69%)
CMYKcmyk(23.3%, 47.7%, 0%, 31%)
CIE-LABlab(46.90, 34.27, -38.30)
CIE-LCHlch(46.90, 51.39, 311.83°)
OKLaboklab(55.63% 0.0783 -0.1071)
OKLCHoklch(55.63% 0.133 306.2)
XYZxyz(21.6537, 15.9399, 43.0019)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CB0 #85B05C
analogous
#5D5CB0 #875CB0 #B05CAF
triadic
#875CB0 #B0875C #5CB087
tetradic
#875CB0 #B05D5C #85B05C #5CAFB0
square
#875CB0 #B05D5C #85B05C #5CAFB0
split-complementary
#875CB0 #AFB05C #5CB05D
monochromatic
#493062 #68448B #875CB0 #A585C4 #C4AED8

Accessibility & contrast

On white

5.01
#875CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#875CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875CB0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CB0#FFFFFF#000000##FFFFFF
##875CB01.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466EB3
Deuteranopia (green-blind)
#516FAE
Tritanopia (blue-blind)
#816A7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875cb0;
/* rgb */ color: rgb(135, 92, 176);
/* oklch */ color: oklch(55.6% 0.133 306.2);
Tailwind
colors: {
  custom: {
    50: '#ac8bc8',
    500: '#875cb0',
    950: '#000000',
  },
}
SCSS
$custom: #875cb0;
$custom-light: #ac8bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#875cb0",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 176
  },
  "hsl": {
    "h": 270.714,
    "s": 34.711,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55628,
    "c": 0.13267,
    "h": 306.2
  },
  "luminance": 0.1594
}

Semantic roles & 50–950 ramp

primary
#875CB0
secondary
#B3C6A2
accent
#CB5D93
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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