#875BD5#875BD5

#875BD5 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.180 H 297.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#875BD5
RGBrgb(135, 91, 213)
HSLhsl(262, 59%, 60%)
HSVhsv(262, 57%, 84%)
CMYKcmyk(36.6%, 57.3%, 0%, 16.5%)
CIE-LABlab(48.81, 44.15, -56.62)
CIE-LCHlch(48.81, 71.80, 307.95°)
OKLaboklab(57.73% 0.082 -0.1607)
OKLCHoklch(57.73% 0.18 297)
XYZxyz(25.7400, 17.4368, 64.9474)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BD5 #A9D55B
analogous
#5B6CD5 #875BD5 #C45BD5
triadic
#875BD5 #D5875B #5BD587
tetradic
#875BD5 #D55B6C #A9D55B #5BD5C4
square
#875BD5 #D55B6C #A9D55B #5BD5C4
split-complementary
#875BD5 #D5C45B #6CD55B
monochromatic
#4C2591 #6532C1 #875BD5 #AB8CE1 #CEBCEE

Accessibility & contrast

On white

4.68
#875BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#875BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BD5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BD5#FFFFFF#000000##FFFFFF
##875BD51.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B74D9
Deuteranopia (green-blind)
#2E72D2
Tritanopia (blue-blind)
#75758F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875bd5;
/* rgb */ color: rgb(135, 91, 213);
/* oklch */ color: oklch(57.7% 0.180 297.0);
Tailwind
colors: {
  custom: {
    50: '#ae8be3',
    500: '#875bd5',
    950: '#000000',
  },
}
SCSS
$custom: #875bd5;
$custom-light: #ae8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#875bd5",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 261.639,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.18041,
    "h": 297
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#875BD5
secondary
#CCDEAE
accent
#E245AA
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #875BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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