#875DFC#875DFC

#875DFC is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.225 H 290.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#875DFC
RGBrgb(135, 93, 252)
HSLhsl(256, 96%, 68%)
HSVhsv(256, 63%, 99%)
CMYKcmyk(46.4%, 63.1%, 0%, 1.2%)
CIE-LABlab(51.84, 53.48, -73.65)
CIE-LCHlch(51.84, 91.02, 305.98°)
OKLaboklab(60.78% 0.0778 -0.2108)
OKLCHoklch(60.78% 0.225 290.3)
XYZxyz(31.4717, 20.0067, 94.2800)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DFC #D2FC5D
analogous
#5D82FC #875DFC #D65DFC
triadic
#875DFC #FC875D #5DFC87
tetradic
#875DFC #FC5D82 #D2FC5D #5DFCD6
square
#875DFC #FC5D82 #D2FC5D #5DFCD6
split-complementary
#875DFC #FCD65D #82FC5D
monochromatic
#3D04DB #5A21FB #875DFC #B499FD #E0D5FE

Accessibility & contrast

On white

4.20
#875DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#875DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875DFC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DFC#FFFFFF#000000##000000
##875DFC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#6283A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #875dfc;
/* rgb */ color: rgb(135, 93, 252);
/* oklch */ color: oklch(60.8% 0.225 290.3);
Tailwind
colors: {
  custom: {
    50: '#b28dfe',
    500: '#875dfc',
    950: '#000000',
  },
}
SCSS
$custom: #875dfc;
$custom-light: #b28dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#875dfc",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 252
  },
  "hsl": {
    "h": 255.849,
    "s": 96.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60779,
    "c": 0.22468,
    "h": 290.3
  },
  "luminance": 0.20008
}

Semantic roles & 50–950 ramp

primary
#875DFC
secondary
#E6F3C2
accent
#E600A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #875DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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