#875DF8#875DF8

#875DF8 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.220 H 290.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#875DF8
RGBrgb(135, 93, 248)
HSLhsl(256, 92%, 67%)
HSVhsv(256, 63%, 97%)
CMYKcmyk(45.6%, 62.5%, 0%, 2.7%)
CIE-LABlab(51.56, 52.39, -71.89)
CIE-LCHlch(51.56, 88.96, 306.08°)
OKLaboklab(60.48% 0.0781 -0.2056)
OKLCHoklch(60.48% 0.22 290.8)
XYZxyz(30.8445, 19.7558, 90.9768)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DF8 #CEF85D
analogous
#5D81F8 #875DF8 #D55DF8
triadic
#875DF8 #F8875D #5DF887
tetradic
#875DF8 #F85D81 #CEF85D #5DF8D5
square
#875DF8 #F85D81 #CEF85D #5DF8D5
split-complementary
#875DF8 #F8D55D #81F85D
monochromatic
#3F09D2 #5C22F5 #875DF8 #B298FB #DED2FD

Accessibility & contrast

On white

4.24
#875DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#875DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875DF8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DF8#FFFFFF#000000##000000
##875DF81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#0077F5
Tritanopia (blue-blind)
#6482A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #875df8;
/* rgb */ color: rgb(135, 93, 248);
/* oklch */ color: oklch(60.5% 0.220 290.8);
Tailwind
colors: {
  custom: {
    50: '#b28dfc',
    500: '#875df8',
    950: '#000000',
  },
}
SCSS
$custom: #875df8;
$custom-light: #b28dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#875df8",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 248
  },
  "hsl": {
    "h": 256.258,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60483,
    "c": 0.21995,
    "h": 290.8
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#875DF8
secondary
#E4F1C0
accent
#E600A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #875DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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