#875DF7#875DF7

#875DF7 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.219 H 290.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#875DF7
RGBrgb(135, 93, 247)
HSLhsl(256, 91%, 67%)
HSVhsv(256, 62%, 97%)
CMYKcmyk(45.3%, 62.3%, 0%, 3.1%)
CIE-LABlab(51.49, 52.12, -71.45)
CIE-LCHlch(51.49, 88.44, 306.11°)
OKLaboklab(60.41% 0.0782 -0.2043)
OKLCHoklch(60.41% 0.219 290.9)
XYZxyz(30.6898, 19.6939, 90.1619)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DF7 #CDF75D
analogous
#5D80F7 #875DF7 #D45DF7
triadic
#875DF7 #F7875D #5DF787
tetradic
#875DF7 #F75D80 #CDF75D #5DF7D4
square
#875DF7 #F75D80 #CDF75D #5DF7D4
split-complementary
#875DF7 #F7D45D #80F75D
monochromatic
#400ACF #5C23F4 #875DF7 #B297FA #DDD2FD

Accessibility & contrast

On white

4.25
#875DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#875DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875DF7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DF7#FFFFFF#000000##000000
##875DF71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#0077F4
Tritanopia (blue-blind)
#6581A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #875df7;
/* rgb */ color: rgb(135, 93, 247);
/* oklch */ color: oklch(60.4% 0.219 290.9);
Tailwind
colors: {
  custom: {
    50: '#b28dfb',
    500: '#875df7',
    950: '#000000',
  },
}
SCSS
$custom: #875df7;
$custom-light: #b28dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#875df7",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 256.364,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.21877,
    "h": 290.9
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#875DF7
secondary
#E3F1BF
accent
#E600A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #875DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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