#875BC2#875BC2

#875BC2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.157 H 301.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#875BC2
RGBrgb(135, 91, 194)
HSLhsl(266, 46%, 56%)
HSVhsv(266, 53%, 76%)
CMYKcmyk(30.4%, 53.1%, 0%, 23.9%)
CIE-LABlab(47.66, 39.28, -47.55)
CIE-LCHlch(47.66, 61.68, 309.56°)
OKLaboklab(56.52% 0.0814 -0.1341)
OKLCHoklch(56.52% 0.157 301.3)
XYZxyz(23.4681, 16.5280, 52.9823)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BC2 #96C25B
analogous
#5B62C2 #875BC2 #BA5BC2
triadic
#875BC2 #C2875B #5BC287
tetradic
#875BC2 #C25B62 #96C25B #5BC2BA
square
#875BC2 #C25B62 #96C25B #5BC2BA
split-complementary
#875BC2 #C2BA5B #62C25B
monochromatic
#4C2C77 #683DA3 #875BC2 #A888D3 #C8B4E3

Accessibility & contrast

On white

4.88
#875BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #875BC2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BC2#FFFFFF#000000##FFFFFF
##875BC21.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3670C6
Deuteranopia (green-blind)
#4371C0
Tritanopia (blue-blind)
#7B6F86
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #875bc2;
/* rgb */ color: rgb(135, 91, 194);
/* oklch */ color: oklch(56.5% 0.157 301.3);
Tailwind
colors: {
  custom: {
    50: '#ad8bd5',
    500: '#875bc2',
    950: '#000000',
  },
}
SCSS
$custom: #875bc2;
$custom-light: #ad8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#875bc2",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 265.631,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56517,
    "c": 0.15689,
    "h": 301.3
  },
  "luminance": 0.16528
}

Semantic roles & 50–950 ramp

primary
#875BC2
secondary
#C0D2A7
accent
#D5529D
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #875BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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