#875AE8#875AE8

#875AE8 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.205 H 293.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#875AE8
RGBrgb(135, 90, 232)
HSLhsl(259, 76%, 63%)
HSVhsv(259, 61%, 91%)
CMYKcmyk(41.8%, 61.2%, 0%, 9%)
CIE-LABlab(49.84, 49.71, -65.71)
CIE-LCHlch(49.84, 82.40, 307.11°)
OKLaboklab(58.89% 0.0825 -0.1874)
OKLCHoklch(58.89% 0.205 293.8)
XYZxyz(28.2094, 18.2887, 78.3721)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AE8 #BBE85A
analogous
#5A74E8 #875AE8 #CE5AE8
triadic
#875AE8 #E8875A #5AE887
tetradic
#875AE8 #E85A74 #BBE85A #5AE8CE
square
#875AE8 #E85A74 #BBE85A #5AE8CE
split-complementary
#875AE8 #E8CE5A #74E85A
monochromatic
#4818AF #6024E1 #875AE8 #AE90EF #D5C5F7

Accessibility & contrast

On white

4.51
#875AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#875AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875AE8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AE8#FFFFFF#000000##000000
##875AE81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#6D7A99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875ae8;
/* rgb */ color: rgb(135, 90, 232);
/* oklch */ color: oklch(58.9% 0.205 293.8);
Tailwind
colors: {
  custom: {
    50: '#b08bf0',
    500: '#875ae8',
    950: '#000000',
  },
}
SCSS
$custom: #875ae8;
$custom-light: #b08bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#875ae8",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 259.014,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58886,
    "c": 0.20478,
    "h": 293.8
  },
  "luminance": 0.18289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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