#875DBB#875DBB

#875DBB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.4% C 0.145 H 302.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#875DBB
RGBrgb(135, 93, 187)
HSLhsl(267, 41%, 55%)
HSVhsv(267, 50%, 73%)
CMYKcmyk(27.8%, 50.3%, 0%, 26.7%)
CIE-LABlab(47.71, 36.39, -43.42)
CIE-LCHlch(47.71, 56.65, 309.97°)
OKLaboklab(56.43% 0.0782 -0.122)
OKLCHoklch(56.43% 0.145 302.7)
XYZxyz(22.8737, 16.5675, 48.9969)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DBB #91BB5D
analogous
#5D62BB #875DBB #B65DBB
triadic
#875DBB #BB875D #5DBB87
tetradic
#875DBB #BB5D62 #91BB5D #5DBBB6
square
#875DBB #BB5D62 #91BB5D #5DBBB6
split-complementary
#875DBB #BBB65D #62BB5D
monochromatic
#4B2F6F #69419A #875DBB #A788CD #C7B3DF

Accessibility & contrast

On white

4.87
#875DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#875DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875DBB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DBB#FFFFFF#000000##FFFFFF
##875DBB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#7E6E83
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #875dbb;
/* rgb */ color: rgb(135, 93, 187);
/* oklch */ color: oklch(56.4% 0.145 302.7);
Tailwind
colors: {
  custom: {
    50: '#ac8cd0',
    500: '#875dbb',
    950: '#000000',
  },
}
SCSS
$custom: #875dbb;
$custom-light: #ac8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#875dbb",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 266.809,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56427,
    "c": 0.14491,
    "h": 302.7
  },
  "luminance": 0.16567
}

Semantic roles & 50–950 ramp

primary
#875DBB
secondary
#BCCEA6
accent
#D1579A
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #875DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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