#875AE4#875AE4

#875AE4 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.6% C 0.200 H 294.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#875AE4
RGBrgb(135, 90, 228)
HSLhsl(260, 72%, 62%)
HSVhsv(260, 61%, 89%)
CMYKcmyk(40.8%, 60.5%, 0%, 10.6%)
CIE-LABlab(49.57, 48.65, -63.90)
CIE-LCHlch(49.57, 80.31, 307.28°)
OKLaboklab(58.6% 0.0827 -0.1821)
OKLCHoklch(58.6% 0.2 294.4)
XYZxyz(27.6477, 18.0640, 75.4138)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AE4 #B7E45A
analogous
#5A72E4 #875AE4 #CC5AE4
triadic
#875AE4 #E4875A #5AE487
tetradic
#875AE4 #E45A72 #B7E45A #5AE4CC
square
#875AE4 #E45A72 #B7E45A #5AE4CC
split-complementary
#875AE4 #E4CC5A #72E45A
monochromatic
#491CA8 #6125DB #875AE4 #AD8FED #D4C3F5

Accessibility & contrast

On white

4.55
#875AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#875AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875AE4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AE4#FFFFFF#000000##000000
##875AE41.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#0074E1
Tritanopia (blue-blind)
#6F7997
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875ae4;
/* rgb */ color: rgb(135, 90, 228);
/* oklch */ color: oklch(58.6% 0.200 294.4);
Tailwind
colors: {
  custom: {
    50: '#b08bed',
    500: '#875ae4',
    950: '#000000',
  },
}
SCSS
$custom: #875ae4;
$custom-light: #b08bed;
$custom-dark: #000000;
JSON
{
  "hex": "#875ae4",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 259.565,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58603,
    "c": 0.19999,
    "h": 294.4
  },
  "luminance": 0.18065
}

Semantic roles & 50–950 ramp

primary
#875AE4
secondary
#D6E6B4
accent
#D41295
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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