#875EDD#875EDD

#875EDD is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.186 H 294.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#875EDD
RGBrgb(135, 94, 221)
HSLhsl(259, 65%, 62%)
HSVhsv(259, 57%, 87%)
CMYKcmyk(38.9%, 57.5%, 0%, 13.3%)
CIE-LABlab(49.95, 44.59, -59.33)
CIE-LCHlch(49.95, 74.22, 306.93°)
OKLaboklab(58.73% 0.0784 -0.1687)
OKLCHoklch(58.73% 0.186 294.9)
XYZxyz(27.0421, 18.3762, 70.5148)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EDD #B4DD5E
analogous
#5E75DD #875EDD #C75EDD
triadic
#875EDD #DD875E #5EDD87
tetradic
#875EDD #DD5E75 #B4DD5E #5EDDC7
square
#875EDD #DD5E75 #B4DD5E #5EDDC7
split-complementary
#875EDD #DDC75E #75DD5E
monochromatic
#4A229F #622CD2 #875EDD #AD91E8 #D2C3F2

Accessibility & contrast

On white

4.49
#875EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#875EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EDD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EDD#FFFFFF#000000##000000
##875EDD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1378E1
Deuteranopia (green-blind)
#2775DA
Tritanopia (blue-blind)
#717994
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875edd;
/* rgb */ color: rgb(135, 94, 221);
/* oklch */ color: oklch(58.7% 0.186 294.9);
Tailwind
colors: {
  custom: {
    50: '#af8de8',
    500: '#875edd',
    950: '#000000',
  },
}
SCSS
$custom: #875edd;
$custom-light: #af8de8;
$custom-dark: #000000;
JSON
{
  "hex": "#875edd",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 221
  },
  "hsl": {
    "h": 259.37,
    "s": 65.128,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58732,
    "c": 0.18598,
    "h": 294.9
  },
  "luminance": 0.18377
}

Semantic roles & 50–950 ramp

primary
#875EDD
secondary
#D4E3B4
accent
#CD1993
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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