#875BBE#875BBE

#875BBE is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.3% C 0.152 H 302.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#875BBE
RGBrgb(135, 91, 190)
HSLhsl(267, 43%, 55%)
HSVhsv(267, 52%, 75%)
CMYKcmyk(28.9%, 52.1%, 0%, 25.5%)
CIE-LABlab(47.43, 38.28, -45.60)
CIE-LCHlch(47.43, 59.54, 310.01°)
OKLaboklab(56.27% 0.0812 -0.1284)
OKLCHoklch(56.27% 0.152 302.3)
XYZxyz(23.0249, 16.3508, 50.6482)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BBE #92BE5B
analogous
#5B60BE #875BBE #B95BBE
triadic
#875BBE #BE875B #5BBE87
tetradic
#875BBE #BE5B60 #92BE5B #5BBEB9
square
#875BBE #BE5B60 #92BE5B #5BBEB9
split-complementary
#875BBE #BEB95B #60BE5B
monochromatic
#4B2D72 #693E9D #875BBE #A787CF #C7B3E1

Accessibility & contrast

On white

4.92
#875BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#875BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BBE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BBE#FFFFFF#000000##FFFFFF
##875BBE1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C1
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#7D6D84
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #875bbe;
/* rgb */ color: rgb(135, 91, 190);
/* oklch */ color: oklch(56.3% 0.152 302.3);
Tailwind
colors: {
  custom: {
    50: '#ad8bd2',
    500: '#875bbe',
    950: '#000000',
  },
}
SCSS
$custom: #875bbe;
$custom-light: #ad8bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#875bbe",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 266.667,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56274,
    "c": 0.15189,
    "h": 302.3
  },
  "luminance": 0.16351
}

Semantic roles & 50–950 ramp

primary
#875BBE
secondary
#BDCFA6
accent
#D3559B
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #875BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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