#875EFD#875EFD

#875EFD is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.225 H 290.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#875EFD
RGBrgb(135, 94, 253)
HSLhsl(255, 98%, 68%)
HSVhsv(255, 63%, 99%)
CMYKcmyk(46.6%, 62.8%, 0%, 0.8%)
CIE-LABlab(52.12, 53.21, -73.77)
CIE-LCHlch(52.12, 90.96, 305.81°)
OKLaboklab(61% 0.0767 -0.2111)
OKLCHoklch(61% 0.225 290)
XYZxyz(31.7190, 20.2469, 95.1462)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EFD #D4FD5E
analogous
#5E84FD #875EFD #D75EFD
triadic
#875EFD #FD875E #5EFD87
tetradic
#875EFD #FD5E84 #D4FD5E #5EFDD7
square
#875EFD #FD5E84 #D4FD5E #5EFDD7
split-complementary
#875EFD #FDD75E #84FD5E
monochromatic
#3B03DE #5A22FC #875EFD #B49AFE #E1D7FF

Accessibility & contrast

On white

4.16
#875EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#875EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EFD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EFD#FFFFFF#000000##000000
##875EFD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #875efd;
/* rgb */ color: rgb(135, 94, 253);
/* oklch */ color: oklch(61.0% 0.225 290.0);
Tailwind
colors: {
  custom: {
    50: '#b28eff',
    500: '#875efd',
    950: '#000000',
  },
}
SCSS
$custom: #875efd;
$custom-light: #b28eff;
$custom-dark: #000000;
JSON
{
  "hex": "#875efd",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 253
  },
  "hsl": {
    "h": 255.472,
    "s": 97.546,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60998,
    "c": 0.22462,
    "h": 290
  },
  "luminance": 0.20248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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