#875CFD#875CFD

#875CFD is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.227 H 290.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#875CFD
RGBrgb(135, 92, 253)
HSLhsl(256, 98%, 68%)
HSVhsv(256, 64%, 99%)
CMYKcmyk(46.6%, 63.6%, 0%, 0.8%)
CIE-LABlab(51.72, 54.28, -74.41)
CIE-LCHlch(51.72, 92.11, 306.11°)
OKLaboklab(60.71% 0.0787 -0.213)
OKLCHoklch(60.71% 0.227 290.3)
XYZxyz(31.5434, 19.8958, 95.0877)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CFD #D2FD5C
analogous
#5C81FD #875CFD #D85CFD
triadic
#875CFD #FD875C #5CFD87
tetradic
#875CFD #FD5C81 #D2FD5C #5CFDD8
square
#875CFD #FD5C81 #D2FD5C #5CFDD8
split-complementary
#875CFD #FDD85C #81FD5C
monochromatic
#3D03DC #5A20FC #875CFD #B498FE #E0D5FE

Accessibility & contrast

On white

4.22
#875CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#875CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875CFD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CFD#FFFFFF#000000##000000
##875CFD1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0078FA
Tritanopia (blue-blind)
#6183A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #875cfd;
/* rgb */ color: rgb(135, 92, 253);
/* oklch */ color: oklch(60.7% 0.227 290.3);
Tailwind
colors: {
  custom: {
    50: '#b28cff',
    500: '#875cfd',
    950: '#000000',
  },
}
SCSS
$custom: #875cfd;
$custom-light: #b28cff;
$custom-dark: #000000;
JSON
{
  "hex": "#875cfd",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 253
  },
  "hsl": {
    "h": 256.025,
    "s": 97.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60711,
    "c": 0.22708,
    "h": 290.3
  },
  "luminance": 0.19897
}

Semantic roles & 50–950 ramp

primary
#875CFD
secondary
#E6F3C1
accent
#E600A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #875CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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