#875DF6#875DF6

#875DF6 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.218 H 291.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#875DF6
RGBrgb(135, 93, 246)
HSLhsl(256, 89%, 66%)
HSVhsv(256, 62%, 96%)
CMYKcmyk(45.1%, 62.2%, 0%, 3.5%)
CIE-LABlab(51.42, 51.85, -71.01)
CIE-LCHlch(51.42, 87.92, 306.14°)
OKLaboklab(60.34% 0.0783 -0.203)
OKLCHoklch(60.34% 0.218 291.1)
XYZxyz(30.5359, 19.6324, 89.3514)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DF6 #CCF65D
analogous
#5D80F6 #875DF6 #D45DF6
triadic
#875DF6 #F6875D #5DF687
tetradic
#875DF6 #F65D80 #CCF65D #5DF6D4
square
#875DF6 #F65D80 #CCF65D #5DF6D4
split-complementary
#875DF6 #F6D45D #80F65D
monochromatic
#410BCD #5C23F3 #875DF6 #B297F9 #DDD1FC

Accessibility & contrast

On white

4.26
#875DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#875DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875DF6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DF6#FFFFFF#000000##000000
##875DF61.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#6581A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #875df6;
/* rgb */ color: rgb(135, 93, 246);
/* oklch */ color: oklch(60.3% 0.218 291.1);
Tailwind
colors: {
  custom: {
    50: '#b18dfa',
    500: '#875df6',
    950: '#000000',
  },
}
SCSS
$custom: #875df6;
$custom-light: #b18dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#875df6",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 256.471,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60337,
    "c": 0.21757,
    "h": 291.1
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#875DF6
secondary
#E3F0BF
accent
#E600A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #875DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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