#875DCD#875DCD

#875DCD is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.168 H 298.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#875DCD
RGBrgb(135, 93, 205)
HSLhsl(263, 53%, 58%)
HSVhsv(263, 55%, 80%)
CMYKcmyk(34.1%, 54.6%, 0%, 19.6%)
CIE-LABlab(48.74, 40.96, -52.15)
CIE-LCHlch(48.74, 66.31, 308.15°)
OKLaboklab(57.53% 0.0794 -0.1476)
OKLCHoklch(57.53% 0.168 298.3)
XYZxyz(24.9228, 17.3871, 59.7888)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DCD #A3CD5D
analogous
#5D6BCD #875DCD #BF5DCD
triadic
#875DCD #CD875D #5DCD87
tetradic
#875DCD #CD5D6B #A3CD5D #5DCDBF
square
#875DCD #CD5D6B #A3CD5D #5DCDBF
split-complementary
#875DCD #CDBF5D #6BCD5D
monochromatic
#4C2986 #6738B5 #875DCD #AA8CDB #CCBBEA

Accessibility & contrast

On white

4.69
#875DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#875DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875DCD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DCD#FFFFFF#000000##FFFFFF
##875DCD1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E74D1
Deuteranopia (green-blind)
#3B73CA
Tritanopia (blue-blind)
#78738C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875dcd;
/* rgb */ color: rgb(135, 93, 205);
/* oklch */ color: oklch(57.5% 0.168 298.3);
Tailwind
colors: {
  custom: {
    50: '#ae8cdd',
    500: '#875dcd',
    950: '#000000',
  },
}
SCSS
$custom: #875dcd;
$custom-light: #ae8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#875dcd",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 262.5,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57527,
    "c": 0.16757,
    "h": 298.3
  },
  "luminance": 0.17387
}

Semantic roles & 50–950 ramp

primary
#875DCD
secondary
#C8D9AD
accent
#DC4CA6
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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