#875DE3#875DE3

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

Color values

HEX#875DE3
RGBrgb(135, 93, 227)
HSLhsl(259, 71%, 63%)
HSVhsv(259, 59%, 89%)
CMYKcmyk(40.5%, 59%, 0%, 11%)
CIE-LABlab(50.13, 46.74, -62.44)
CIE-LCHlch(50.13, 77.99, 306.82°)
OKLaboklab(58.99% 0.0794 -0.1778)
OKLCHoklch(58.99% 0.195 294.1)
XYZxyz(27.7675, 18.5250, 74.7708)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DE3 #B9E35D
analogous
#5D76E3 #875DE3 #CA5DE3
triadic
#875DE3 #E3875D #5DE387
tetradic
#875DE3 #E35D76 #B9E35D #5DE3CA
square
#875DE3 #E35D76 #B9E35D #5DE3CA
split-complementary
#875DE3 #E3CA5D #76E35D
monochromatic
#491DA8 #6029DA #875DE3 #AE91EC #D4C5F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##875DE3#FFFFFF#000000##000000
##875DE31.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)
#0079E7
Deuteranopia (green-blind)
#1675E0
Tritanopia (blue-blind)
#6F7A97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875de3;
/* rgb */ color: rgb(135, 93, 227);
/* oklch */ color: oklch(59.0% 0.195 294.1);
Tailwind
colors: {
  custom: {
    50: '#b08ced',
    500: '#875de3',
    950: '#000000',
  },
}
SCSS
$custom: #875de3;
$custom-light: #b08ced;
$custom-dark: #000000;
JSON
{
  "hex": "#875de3",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 258.806,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58986,
    "c": 0.19472,
    "h": 294.1
  },
  "luminance": 0.18526
}

Semantic roles & 50–950 ramp

primary
#875DE3
secondary
#D7E6B6
accent
#D31396
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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