#875BBF#875BBF

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

Color values

HEX#875BBF
RGBrgb(135, 91, 191)
HSLhsl(266, 44%, 55%)
HSVhsv(266, 52%, 75%)
CMYKcmyk(29.3%, 52.4%, 0%, 25.1%)
CIE-LABlab(47.49, 38.53, -46.09)
CIE-LCHlch(47.49, 60.07, 309.89°)
OKLaboklab(56.33% 0.0812 -0.1298)
OKLCHoklch(56.33% 0.153 302)
XYZxyz(23.1346, 16.3946, 51.2258)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BBF #93BF5B
analogous
#5B61BF #875BBF #B95BBF
triadic
#875BBF #BF875B #5BBF87
tetradic
#875BBF #BF5B61 #93BF5B #5BBFB9
square
#875BBF #BF5B61 #93BF5B #5BBFB9
split-complementary
#875BBF #BFB95B #61BF5B
monochromatic
#4C2D73 #693E9F #875BBF #A787D0 #C7B3E1

Accessibility & contrast

On white

4.91
#875BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#875BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BBF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BBF#FFFFFF#000000##FFFFFF
##875BBF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#4570BD
Tritanopia (blue-blind)
#7C6E84
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #875bbf;
/* rgb */ color: rgb(135, 91, 191);
/* oklch */ color: oklch(56.3% 0.153 302.0);
Tailwind
colors: {
  custom: {
    50: '#ad8bd3',
    500: '#875bbf',
    950: '#000000',
  },
}
SCSS
$custom: #875bbf;
$custom-light: #ad8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#875bbf",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 266.4,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56334,
    "c": 0.15314,
    "h": 302
  },
  "luminance": 0.16395
}

Semantic roles & 50–950 ramp

primary
#875BBF
secondary
#BDD0A6
accent
#D4549C
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #875BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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