#875DD5#875DD5

#875DD5 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.178 H 296.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#875DD5
RGBrgb(135, 93, 213)
HSLhsl(261, 59%, 60%)
HSVhsv(261, 56%, 84%)
CMYKcmyk(36.6%, 56.3%, 0%, 16.5%)
CIE-LABlab(49.23, 43.04, -55.94)
CIE-LCHlch(49.23, 70.58, 307.58°)
OKLaboklab(58.04% 0.0795 -0.1587)
OKLCHoklch(58.04% 0.178 296.6)
XYZxyz(25.9132, 17.7833, 65.0051)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DD5 #ABD55D
analogous
#5D6FD5 #875DD5 #C35DD5
triadic
#875DD5 #D5875D #5DD587
tetradic
#875DD5 #D55D6F #ABD55D #5DD5C3
square
#875DD5 #D55D6F #ABD55D #5DD5C3
split-complementary
#875DD5 #D5C35D #6FD55D
monochromatic
#4C2692 #6532C2 #875DD5 #AB8EE2 #CFBEEE

Accessibility & contrast

On white

4.61
#875DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#875DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875DD5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DD5#FFFFFF#000000##FFFFFF
##875DD51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2276D9
Deuteranopia (green-blind)
#3273D2
Tritanopia (blue-blind)
#757690
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #875dd5;
/* rgb */ color: rgb(135, 93, 213);
/* oklch */ color: oklch(58.0% 0.178 296.6);
Tailwind
colors: {
  custom: {
    50: '#ae8ce3',
    500: '#875dd5',
    950: '#000000',
  },
}
SCSS
$custom: #875dd5;
$custom-light: #ae8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#875dd5",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 261,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.58043,
    "c": 0.17752,
    "h": 296.6
  },
  "luminance": 0.17784
}

Semantic roles & 50–950 ramp

primary
#875DD5
secondary
#CEDEB0
accent
#E246AB
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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