#875CD5#875CD5

#875CD5 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.9% C 0.179 H 296.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#875CD5
RGBrgb(135, 92, 213)
HSLhsl(261, 59%, 60%)
HSVhsv(261, 57%, 84%)
CMYKcmyk(36.6%, 56.8%, 0%, 16.5%)
CIE-LABlab(49.02, 43.60, -56.28)
CIE-LCHlch(49.02, 71.19, 307.76°)
OKLaboklab(57.89% 0.0808 -0.1597)
OKLCHoklch(57.89% 0.179 296.8)
XYZxyz(25.8260, 17.6089, 64.9761)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CD5 #AAD55C
analogous
#5C6ED5 #875CD5 #C35CD5
triadic
#875CD5 #D5875C #5CD587
tetradic
#875CD5 #D55C6E #AAD55C #5CD5C3
square
#875CD5 #D55C6E #AAD55C #5CD5C3
split-complementary
#875CD5 #D5C35C #6ED55C
monochromatic
#4C2591 #6532C2 #875CD5 #AB8DE2 #CFBDEE

Accessibility & contrast

On white

4.64
#875CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#875CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875CD5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CD5#FFFFFF#000000##FFFFFF
##875CD51.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E75D9
Deuteranopia (green-blind)
#3073D2
Tritanopia (blue-blind)
#757590
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875cd5;
/* rgb */ color: rgb(135, 92, 213);
/* oklch */ color: oklch(57.9% 0.179 296.8);
Tailwind
colors: {
  custom: {
    50: '#ae8ce3',
    500: '#875cd5',
    950: '#000000',
  },
}
SCSS
$custom: #875cd5;
$custom-light: #ae8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#875cd5",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 261.322,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.17897,
    "h": 296.8
  },
  "luminance": 0.17609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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