#875DE7#875DE7

#875DE7 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.3% C 0.200 H 293.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#875DE7
RGBrgb(135, 93, 231)
HSLhsl(258, 74%, 64%)
HSVhsv(258, 60%, 91%)
CMYKcmyk(41.6%, 59.7%, 0%, 9.4%)
CIE-LABlab(50.39, 47.81, -64.27)
CIE-LCHlch(50.39, 80.10, 306.65°)
OKLaboklab(59.26% 0.0792 -0.1832)
OKLCHoklch(59.26% 0.2 293.4)
XYZxyz(28.3259, 18.7484, 77.7122)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DE7 #BDE75D
analogous
#5D78E7 #875DE7 #CC5DE7
triadic
#875DE7 #E7875D #5DE787
tetradic
#875DE7 #E75D78 #BDE75D #5DE7CC
square
#875DE7 #E75D78 #BDE75D #5DE7CC
split-complementary
#875DE7 #E7CC5D #78E75D
monochromatic
#481AB0 #6028DF #875DE7 #AE92EF #D6C8F7

Accessibility & contrast

On white

4.42
#875DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#875DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875DE7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DE7#FFFFFF#000000##000000
##875DE71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#0375E4
Tritanopia (blue-blind)
#6D7C99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875de7;
/* rgb */ color: rgb(135, 93, 231);
/* oklch */ color: oklch(59.3% 0.200 293.4);
Tailwind
colors: {
  custom: {
    50: '#b08def',
    500: '#875de7',
    950: '#000000',
  },
}
SCSS
$custom: #875de7;
$custom-light: #b08def;
$custom-dark: #000000;
JSON
{
  "hex": "#875de7",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 258.261,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59263,
    "c": 0.19958,
    "h": 293.4
  },
  "luminance": 0.18749
}

Semantic roles & 50–950 ramp

primary
#875DE7
secondary
#D9E8B7
accent
#D60F9A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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