#875AE7#875AE7

#875AE7 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.204 H 293.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#875AE7
RGBrgb(135, 90, 231)
HSLhsl(259, 75%, 63%)
HSVhsv(259, 61%, 91%)
CMYKcmyk(41.6%, 61%, 0%, 9.4%)
CIE-LABlab(49.78, 49.44, -65.26)
CIE-LCHlch(49.78, 81.87, 307.15°)
OKLaboklab(58.82% 0.0825 -0.1861)
OKLCHoklch(58.82% 0.204 293.9)
XYZxyz(28.0678, 18.2320, 77.6261)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AE7 #BAE75A
analogous
#5A73E7 #875AE7 #CD5AE7
triadic
#875AE7 #E7875A #5AE787
tetradic
#875AE7 #E75A73 #BAE75A #5AE7CD
square
#875AE7 #E75A73 #BAE75A #5AE7CD
split-complementary
#875AE7 #E7CD5A #73E75A
monochromatic
#4919AD #6025DF #875AE7 #AE8FEF #D5C5F7

Accessibility & contrast

On white

4.52
#875AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#875AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875AE7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AE7#FFFFFF#000000##000000
##875AE71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#6D7A98
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875ae7;
/* rgb */ color: rgb(135, 90, 231);
/* oklch */ color: oklch(58.8% 0.204 293.9);
Tailwind
colors: {
  custom: {
    50: '#b08bef',
    500: '#875ae7',
    950: '#000000',
  },
}
SCSS
$custom: #875ae7;
$custom-light: #b08bef;
$custom-dark: #000000;
JSON
{
  "hex": "#875ae7",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 259.149,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58815,
    "c": 0.20359,
    "h": 293.9
  },
  "luminance": 0.18233
}

Semantic roles & 50–950 ramp

primary
#875AE7
secondary
#D8E8B5
accent
#D70F97
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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