#875AEA#875AEA

#875AEA is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.207 H 293.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#875AEA
RGBrgb(135, 90, 234)
HSLhsl(259, 77%, 64%)
HSVhsv(259, 62%, 92%)
CMYKcmyk(42.3%, 61.5%, 0%, 8.2%)
CIE-LABlab(49.98, 50.24, -66.62)
CIE-LCHlch(49.98, 83.44, 307.02°)
OKLaboklab(59.03% 0.0824 -0.1901)
OKLCHoklch(59.03% 0.207 293.4)
XYZxyz(28.4951, 18.4030, 79.8767)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AEA #BDEA5A
analogous
#5A75EA #875AEA #CF5AEA
triadic
#875AEA #EA875A #5AEA87
tetradic
#875AEA #EA5A75 #BDEA5A #5AEACF
square
#875AEA #EA5A75 #BDEA5A #5AEACF
split-complementary
#875AEA #EACF5A #75EA5A
monochromatic
#4817B3 #6024E3 #875AEA #AE90F1 #D6C7F8

Accessibility & contrast

On white

4.49
#875AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#875AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875AEA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AEA#FFFFFF#000000##000000
##875AEA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#6C7B9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875aea;
/* rgb */ color: rgb(135, 90, 234);
/* oklch */ color: oklch(59.0% 0.207 293.4);
Tailwind
colors: {
  custom: {
    50: '#b08bf2',
    500: '#875aea',
    950: '#000000',
  },
}
SCSS
$custom: #875aea;
$custom-light: #b08bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#875aea",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 258.75,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59029,
    "c": 0.20717,
    "h": 293.4
  },
  "luminance": 0.18404
}

Semantic roles & 50–950 ramp

primary
#875AEA
secondary
#D9E9B6
accent
#DA0C99
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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