#875CE7#875CE7

#875CE7 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.1% C 0.201 H 293.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#875CE7
RGBrgb(135, 92, 231)
HSLhsl(259, 74%, 63%)
HSVhsv(259, 60%, 91%)
CMYKcmyk(41.6%, 60.2%, 0%, 9.4%)
CIE-LABlab(50.19, 48.36, -64.60)
CIE-LCHlch(50.19, 80.69, 306.82°)
OKLaboklab(59.11% 0.0803 -0.1842)
OKLCHoklch(59.11% 0.201 293.6)
XYZxyz(28.2387, 18.5740, 77.6831)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CE7 #BCE75C
analogous
#5C76E7 #875CE7 #CC5CE7
triadic
#875CE7 #E7875C #5CE787
tetradic
#875CE7 #E75C76 #BCE75C #5CE7CC
square
#875CE7 #E75C76 #BCE75C #5CE7CC
split-complementary
#875CE7 #E7CC5C #76E75C
monochromatic
#481AAF #6027DF #875CE7 #AE91EF #D6C7F7

Accessibility & contrast

On white

4.45
#875CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#875CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875CE7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CE7#FFFFFF#000000##000000
##875CE71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#6D7B99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875ce7;
/* rgb */ color: rgb(135, 92, 231);
/* oklch */ color: oklch(59.1% 0.201 293.6);
Tailwind
colors: {
  custom: {
    50: '#b08cef',
    500: '#875ce7',
    950: '#000000',
  },
}
SCSS
$custom: #875ce7;
$custom-light: #b08cef;
$custom-dark: #000000;
JSON
{
  "hex": "#875ce7",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 258.561,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59112,
    "c": 0.20092,
    "h": 293.6
  },
  "luminance": 0.18575
}

Semantic roles & 50–950 ramp

primary
#875CE7
secondary
#D9E8B7
accent
#D60F99
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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