#875DFE#875DFE

#875DFE is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.9% C 0.227 H 290.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#875DFE
RGBrgb(135, 93, 254)
HSLhsl(256, 99%, 68%)
HSVhsv(256, 63%, 100%)
CMYKcmyk(46.9%, 63.4%, 0%, 0.4%)
CIE-LABlab(51.99, 54.02, -74.53)
CIE-LCHlch(51.99, 92.05, 305.94°)
OKLaboklab(60.93% 0.0776 -0.2134)
OKLCHoklch(60.93% 0.227 290)
XYZxyz(31.7903, 20.1341, 95.9580)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DFE #D4FE5D
analogous
#5D83FE #875DFE #D75DFE
triadic
#875DFE #FE875D #5DFE87
tetradic
#875DFE #FE5D83 #D4FE5D #5DFED7
square
#875DFE #FE5D83 #D4FE5D #5DFED7
split-complementary
#875DFE #FED75D #83FE5D
monochromatic
#3B01DF #5A20FE #875DFE #B49AFE #E1D7FF

Accessibility & contrast

On white

4.18
#875DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#875DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875DFE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DFE#FFFFFF#000000##000000
##875DFE1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0078FB
Tritanopia (blue-blind)
#6184A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #875dfe;
/* rgb */ color: rgb(135, 93, 254);
/* oklch */ color: oklch(60.9% 0.227 290.0);
Tailwind
colors: {
  custom: {
    50: '#b28dff',
    500: '#875dfe',
    950: '#000000',
  },
}
SCSS
$custom: #875dfe;
$custom-light: #b28dff;
$custom-dark: #000000;
JSON
{
  "hex": "#875dfe",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 254
  },
  "hsl": {
    "h": 255.652,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60929,
    "c": 0.22702,
    "h": 290
  },
  "luminance": 0.20135
}

Semantic roles & 50–950 ramp

primary
#875DFE
secondary
#E7F4C3
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #875DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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