#875AE3#875AE3

#875AE3 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.5% C 0.199 H 294.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#875AE3
RGBrgb(135, 90, 227)
HSLhsl(260, 71%, 62%)
HSVhsv(260, 60%, 89%)
CMYKcmyk(40.5%, 60.4%, 0%, 11%)
CIE-LABlab(49.51, 48.38, -63.44)
CIE-LCHlch(49.51, 79.78, 307.33°)
OKLaboklab(58.53% 0.0828 -0.1807)
OKLCHoklch(58.53% 0.199 294.6)
XYZxyz(27.5093, 18.0086, 74.6848)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AE3 #B6E35A
analogous
#5A72E3 #875AE3 #CB5AE3
triadic
#875AE3 #E3875A #5AE387
tetradic
#875AE3 #E35A72 #B6E35A #5AE3CB
square
#875AE3 #E35A72 #B6E35A #5AE3CB
split-complementary
#875AE3 #E3CB5A #72E35A
monochromatic
#4A1CA6 #6126DA #875AE3 #AD8EEC #D3C3F5

Accessibility & contrast

On white

4.56
#875AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#875AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875AE3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AE3#FFFFFF#000000##000000
##875AE31.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#0673E0
Tritanopia (blue-blind)
#6F7996
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875ae3;
/* rgb */ color: rgb(135, 90, 227);
/* oklch */ color: oklch(58.5% 0.199 294.6);
Tailwind
colors: {
  custom: {
    50: '#b08bed',
    500: '#875ae3',
    950: '#000000',
  },
}
SCSS
$custom: #875ae3;
$custom-light: #b08bed;
$custom-dark: #000000;
JSON
{
  "hex": "#875ae3",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 259.708,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58533,
    "c": 0.1988,
    "h": 294.6
  },
  "luminance": 0.18009
}

Semantic roles & 50–950 ramp

primary
#875AE3
secondary
#D5E6B3
accent
#D31294
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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