#875FDE#875FDE

#875FDE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.186 H 294.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#875FDE
RGBrgb(135, 95, 222)
HSLhsl(259, 66%, 62%)
HSVhsv(259, 57%, 87%)
CMYKcmyk(39.2%, 57.2%, 0%, 12.9%)
CIE-LABlab(50.23, 44.30, -59.45)
CIE-LCHlch(50.23, 74.14, 306.69°)
OKLaboklab(58.96% 0.0772 -0.169)
OKLCHoklch(58.96% 0.186 294.5)
XYZxyz(27.2652, 18.6086, 71.2484)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FDE #B6DE5F
analogous
#5F76DE #875FDE #C75FDE
triadic
#875FDE #DE875F #5FDE87
tetradic
#875FDE #DE5F76 #B6DE5F #5FDEC7
square
#875FDE #DE5F76 #B6DE5F #5FDEC7
split-complementary
#875FDE #DEC75F #76DE5F
monochromatic
#4A21A1 #612CD4 #875FDE #AD92E8 #D3C4F3

Accessibility & contrast

On white

4.45
#875FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#875FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FDE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FDE#FFFFFF#000000##000000
##875FDE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1579E2
Deuteranopia (green-blind)
#2875DB
Tritanopia (blue-blind)
#717A95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875fde;
/* rgb */ color: rgb(135, 95, 222);
/* oklch */ color: oklch(59.0% 0.186 294.5);
Tailwind
colors: {
  custom: {
    50: '#af8ee9',
    500: '#875fde',
    950: '#000000',
  },
}
SCSS
$custom: #875fde;
$custom-light: #af8ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#875fde",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 258.898,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58955,
    "c": 0.1858,
    "h": 294.5
  },
  "luminance": 0.18609
}

Semantic roles & 50–950 ramp

primary
#875FDE
secondary
#D5E4B5
accent
#CE1894
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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