#875CF8#875CF8

#875CF8 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.221 H 291.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#875CF8
RGBrgb(135, 92, 248)
HSLhsl(257, 92%, 67%)
HSVhsv(257, 63%, 97%)
CMYKcmyk(45.6%, 62.9%, 0%, 2.7%)
CIE-LABlab(51.36, 52.93, -72.21)
CIE-LCHlch(51.36, 89.53, 306.24°)
OKLaboklab(60.34% 0.0791 -0.2066)
OKLCHoklch(60.34% 0.221 291)
XYZxyz(30.7573, 19.5814, 90.9477)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CF8 #CDF85C
analogous
#5C7FF8 #875CF8 #D55CF8
triadic
#875CF8 #F8875C #5CF887
tetradic
#875CF8 #F85C7F #CDF85C #5CF8D5
square
#875CF8 #F85C7F #CDF85C #5CF8D5
split-complementary
#875CF8 #F8D55C #7FF85C
monochromatic
#4009D1 #5C21F5 #875CF8 #B297FB #DDD1FD

Accessibility & contrast

On white

4.27
#875CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#875CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875CF8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CF8#FFFFFF#000000##000000
##875CF81.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0077F5
Tritanopia (blue-blind)
#6481A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #875cf8;
/* rgb */ color: rgb(135, 92, 248);
/* oklch */ color: oklch(60.3% 0.221 291.0);
Tailwind
colors: {
  custom: {
    50: '#b28cfc',
    500: '#875cf8',
    950: '#000000',
  },
}
SCSS
$custom: #875cf8;
$custom-light: #b28cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#875cf8",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 256.538,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60339,
    "c": 0.2212,
    "h": 291
  },
  "luminance": 0.19582
}

Semantic roles & 50–950 ramp

primary
#875CF8
secondary
#E3F1BF
accent
#E600A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #875CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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