#875EFC#875EFC

#875EFC is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.223 H 290.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#875EFC
RGBrgb(135, 94, 252)
HSLhsl(256, 96%, 68%)
HSVhsv(256, 63%, 99%)
CMYKcmyk(46.4%, 62.7%, 0%, 1.2%)
CIE-LABlab(52.04, 52.94, -73.33)
CIE-LCHlch(52.04, 90.44, 305.83°)
OKLaboklab(60.92% 0.0768 -0.2098)
OKLCHoklch(60.92% 0.223 290.1)
XYZxyz(31.5601, 20.1834, 94.3095)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EFC #D3FC5E
analogous
#5E84FC #875EFC #D65EFC
triadic
#875EFC #FC875E #5EFC87
tetradic
#875EFC #FC5E84 #D3FC5E #5EFCD6
square
#875EFC #FC5E84 #D3FC5E #5EFCD6
split-complementary
#875EFC #FCD65E #84FC5E
monochromatic
#3C04DC #5A22FB #875EFC #B49AFD #E1D6FE

Accessibility & contrast

On white

4.17
#875EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#875EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EFC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EFC#FFFFFF#000000##000000
##875EFC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #875efc;
/* rgb */ color: rgb(135, 94, 252);
/* oklch */ color: oklch(60.9% 0.223 290.1);
Tailwind
colors: {
  custom: {
    50: '#b28efe',
    500: '#875efc',
    950: '#000000',
  },
}
SCSS
$custom: #875efc;
$custom-light: #b28efe;
$custom-dark: #000000;
JSON
{
  "hex": "#875efc",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 252
  },
  "hsl": {
    "h": 255.57,
    "s": 96.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60924,
    "c": 0.22344,
    "h": 290.1
  },
  "luminance": 0.20185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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