#875BBB#875BBB

#875BBB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.1% C 0.148 H 303.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#875BBB
RGBrgb(135, 91, 187)
HSLhsl(268, 41%, 55%)
HSVhsv(268, 51%, 73%)
CMYKcmyk(27.8%, 51.3%, 0%, 26.7%)
CIE-LABlab(47.26, 37.53, -44.13)
CIE-LCHlch(47.26, 57.93, 310.38°)
OKLaboklab(56.09% 0.0809 -0.1241)
OKLCHoklch(56.09% 0.148 303.1)
XYZxyz(22.7004, 16.2209, 48.9391)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BBB #8FBB5B
analogous
#5B5FBB #875BBB #B75BBB
triadic
#875BBB #BB875B #5BBB87
tetradic
#875BBB #BB5B5F #8FBB5B #5BBBB7
square
#875BBB #BB5B5F #8FBB5B #5BBBB7
split-complementary
#875BBB #BBB75B #5FBB5B
monochromatic
#4B2E6E #694099 #875BBB #A786CD #C6B2DF

Accessibility & contrast

On white

4.95
#875BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#875BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BBB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BBB#FFFFFF#000000##FFFFFF
##875BBB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#7E6D82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #875bbb;
/* rgb */ color: rgb(135, 91, 187);
/* oklch */ color: oklch(56.1% 0.148 303.1);
Tailwind
colors: {
  custom: {
    50: '#ac8ad0',
    500: '#875bbb',
    950: '#000000',
  },
}
SCSS
$custom: #875bbb;
$custom-light: #ac8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#875bbb",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 267.5,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56094,
    "c": 0.14813,
    "h": 303.1
  },
  "luminance": 0.16221
}

Semantic roles & 50–950 ramp

primary
#875BBB
secondary
#BBCDA5
accent
#D15799
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #875BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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