#875FDD#875FDD

#875FDD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.185 H 294.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#875FDD
RGBrgb(135, 95, 221)
HSLhsl(259, 65%, 62%)
HSVhsv(259, 57%, 87%)
CMYKcmyk(38.9%, 57%, 0%, 13.3%)
CIE-LABlab(50.16, 44.03, -58.99)
CIE-LCHlch(50.16, 73.61, 306.74°)
OKLaboklab(58.89% 0.0772 -0.1677)
OKLCHoklch(58.89% 0.185 294.7)
XYZxyz(27.1316, 18.5552, 70.5446)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FDD #B5DD5F
analogous
#5F76DD #875FDD #C65FDD
triadic
#875FDD #DD875F #5FDD87
tetradic
#875FDD #DD5F76 #B5DD5F #5FDDC6
square
#875FDD #DD5F76 #B5DD5F #5FDDC6
split-complementary
#875FDD #DDC65F #76DD5F
monochromatic
#4A22A0 #612DD2 #875FDD #AD91E8 #D3C4F2

Accessibility & contrast

On white

4.46
#875FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#875FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FDD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FDD#FFFFFF#000000##000000
##875FDD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1878E1
Deuteranopia (green-blind)
#2975DA
Tritanopia (blue-blind)
#717A95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875fdd;
/* rgb */ color: rgb(135, 95, 221);
/* oklch */ color: oklch(58.9% 0.185 294.7);
Tailwind
colors: {
  custom: {
    50: '#af8ee8',
    500: '#875fdd',
    950: '#000000',
  },
}
SCSS
$custom: #875fdd;
$custom-light: #af8ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#875fdd",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 259.048,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58888,
    "c": 0.18457,
    "h": 294.7
  },
  "luminance": 0.18556
}

Semantic roles & 50–950 ramp

primary
#875FDD
secondary
#D4E3B5
accent
#CD1994
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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