#875FFD#875FFD

#875FFD is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.223 H 289.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#875FFD
RGBrgb(135, 95, 253)
HSLhsl(255, 98%, 68%)
HSVhsv(255, 62%, 99%)
CMYKcmyk(46.6%, 62.5%, 0%, 0.8%)
CIE-LABlab(52.32, 52.68, -73.44)
CIE-LCHlch(52.32, 90.38, 305.65°)
OKLaboklab(61.14% 0.0757 -0.2102)
OKLCHoklch(61.14% 0.223 289.8)
XYZxyz(31.8085, 20.4259, 95.1761)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FFD #D5FD5F
analogous
#5F86FD #875FFD #D65FFD
triadic
#875FFD #FD875F #5FFD87
tetradic
#875FFD #FD5F86 #D5FD5F #5FFDD6
square
#875FFD #FD5F86 #D5FD5F #5FFDD6
split-complementary
#875FFD #FDD65F #86FD5F
monochromatic
#3A03DF #5A23FC #875FFD #B49BFE #E2D8FF

Accessibility & contrast

On white

4.13
#875FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#875FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FFD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FFD#FFFFFF#000000##000000
##875FFD1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0079FA
Tritanopia (blue-blind)
#6184A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #875ffd;
/* rgb */ color: rgb(135, 95, 253);
/* oklch */ color: oklch(61.1% 0.223 289.8);
Tailwind
colors: {
  custom: {
    50: '#b28eff',
    500: '#875ffd',
    950: '#000000',
  },
}
SCSS
$custom: #875ffd;
$custom-light: #b28eff;
$custom-dark: #000000;
JSON
{
  "hex": "#875ffd",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 253
  },
  "hsl": {
    "h": 255.19,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61143,
    "c": 0.22338,
    "h": 289.8
  },
  "luminance": 0.20427
}

Semantic roles & 50–950 ramp

primary
#875FFD
secondary
#E8F4C4
accent
#E600AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #875FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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