#875AE1#875AE1

#875AE1 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.196 H 295.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#875AE1
RGBrgb(135, 90, 225)
HSLhsl(260, 69%, 62%)
HSVhsv(260, 60%, 88%)
CMYKcmyk(40%, 60%, 0%, 11.8%)
CIE-LABlab(49.37, 47.85, -62.52)
CIE-LCHlch(49.37, 78.73, 307.43°)
OKLaboklab(58.39% 0.0829 -0.1781)
OKLCHoklch(58.39% 0.196 295)
XYZxyz(27.2349, 17.8989, 73.2395)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AE1 #B4E15A
analogous
#5A71E1 #875AE1 #CB5AE1
triadic
#875AE1 #E1875A #5AE187
tetradic
#875AE1 #E15A71 #B4E15A #5AE1CB
square
#875AE1 #E15A71 #B4E15A #5AE1CB
split-complementary
#875AE1 #E1CB5A #71E15A
monochromatic
#4A1EA3 #6227D7 #875AE1 #AD8EEA #D2C2F4

Accessibility & contrast

On white

4.59
#875AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#875AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875AE1
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AE1#FFFFFF#000000##FFFFFF
##875AE11.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#1073DE
Tritanopia (blue-blind)
#707895
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #875ae1;
/* rgb */ color: rgb(135, 90, 225);
/* oklch */ color: oklch(58.4% 0.196 295.0);
Tailwind
colors: {
  custom: {
    50: '#b08aeb',
    500: '#875ae1',
    950: '#000000',
  },
}
SCSS
$custom: #875ae1;
$custom-light: #b08aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#875ae1",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 260,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58393,
    "c": 0.1964,
    "h": 295
  },
  "luminance": 0.17899
}

Semantic roles & 50–950 ramp

primary
#875AE1
secondary
#D4E4B2
accent
#D11492
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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