#875AEB#875AEB

#875AEB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.208 H 293.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#875AEB
RGBrgb(135, 90, 235)
HSLhsl(259, 78%, 64%)
HSVhsv(259, 62%, 92%)
CMYKcmyk(42.6%, 61.7%, 0%, 7.8%)
CIE-LABlab(50.05, 50.51, -67.07)
CIE-LCHlch(50.05, 83.96, 306.98°)
OKLaboklab(59.1% 0.0823 -0.1914)
OKLCHoklch(59.1% 0.208 293.3)
XYZxyz(28.6392, 18.4606, 80.6355)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AEB #BEEB5A
analogous
#5A75EB #875AEB #CF5AEB
triadic
#875AEB #EB875A #5AEB87
tetradic
#875AEB #EB5A75 #BEEB5A #5AEBCF
square
#875AEB #EB5A75 #BEEB5A #5AEBCF
split-complementary
#875AEB #EBCF5A #75EB5A
monochromatic
#4716B5 #5F23E4 #875AEB #AF91F2 #D6C7F8

Accessibility & contrast

On white

4.48
#875AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#875AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875AEB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AEB#FFFFFF#000000##000000
##875AEB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#6B7B9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875aeb;
/* rgb */ color: rgb(135, 90, 235);
/* oklch */ color: oklch(59.1% 0.208 293.3);
Tailwind
colors: {
  custom: {
    50: '#b08bf2',
    500: '#875aeb',
    950: '#000000',
  },
}
SCSS
$custom: #875aeb;
$custom-light: #b08bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#875aeb",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 258.621,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.591,
    "c": 0.20835,
    "h": 293.3
  },
  "luminance": 0.18461
}

Semantic roles & 50–950 ramp

primary
#875AEB
secondary
#DAEAB7
accent
#DB0B9A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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