#875BD2#875BD2

#875BD2 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.177 H 297.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#875BD2
RGBrgb(135, 91, 210)
HSLhsl(262, 57%, 59%)
HSVhsv(262, 57%, 82%)
CMYKcmyk(35.7%, 56.7%, 0%, 17.6%)
CIE-LABlab(48.62, 43.37, -55.21)
CIE-LCHlch(48.62, 70.21, 308.15°)
OKLaboklab(57.53% 0.082 -0.1566)
OKLCHoklch(57.53% 0.177 297.6)
XYZxyz(25.3627, 17.2859, 62.9605)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BD2 #A6D25B
analogous
#5B6BD2 #875BD2 #C35BD2
triadic
#875BD2 #D2875B #5BD287
tetradic
#875BD2 #D25B6B #A6D25B #5BD2C3
square
#875BD2 #D25B6B #A6D25B #5BD2C3
split-complementary
#875BD2 #D2C35B #6BD25B
monochromatic
#4C268C #6634BC #875BD2 #AA8BDF #CDBBEC

Accessibility & contrast

On white

4.71
#875BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#875BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BD2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BD2#FFFFFF#000000##FFFFFF
##875BD21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2174D6
Deuteranopia (green-blind)
#3272CF
Tritanopia (blue-blind)
#76748E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #875bd2;
/* rgb */ color: rgb(135, 91, 210);
/* oklch */ color: oklch(57.5% 0.177 297.6);
Tailwind
colors: {
  custom: {
    50: '#ae8be0',
    500: '#875bd2',
    950: '#000000',
  },
}
SCSS
$custom: #875bd2;
$custom-light: #ae8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#875bd2",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 262.185,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57532,
    "c": 0.17672,
    "h": 297.6
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#875BD2
secondary
#CADCAD
accent
#E048A8
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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