#875AF3#875AF3

#875AF3 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.218 H 292.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#875AF3
RGBrgb(135, 90, 243)
HSLhsl(258, 86%, 65%)
HSVhsv(258, 63%, 95%)
CMYKcmyk(44.4%, 63%, 0%, 4.7%)
CIE-LABlab(50.61, 52.65, -70.64)
CIE-LCHlch(50.61, 88.10, 306.69°)
OKLaboklab(59.68% 0.0816 -0.2019)
OKLCHoklch(59.68% 0.218 292)
XYZxyz(29.8210, 18.9333, 86.8599)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AF3 #C6F35A
analogous
#5A79F3 #875AF3 #D35AF3
triadic
#875AF3 #F3875A #5AF387
tetradic
#875AF3 #F35A79 #C6F35A #5AF3D3
square
#875AF3 #F35A79 #C6F35A #5AF3D3
split-complementary
#875AF3 #F3D35A #79F35A
monochromatic
#440EC4 #5E21EF #875AF3 #B093F7 #DACCFB

Accessibility & contrast

On white

4.39
#875AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#875AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875AF3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AF3#FFFFFF#000000##000000
##875AF31.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#677E9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875af3;
/* rgb */ color: rgb(135, 90, 243);
/* oklch */ color: oklch(59.7% 0.218 292.0);
Tailwind
colors: {
  custom: {
    50: '#b18bf8',
    500: '#875af3',
    950: '#000000',
  },
}
SCSS
$custom: #875af3;
$custom-light: #b18bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#875af3",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 257.647,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59683,
    "c": 0.21781,
    "h": 292
  },
  "luminance": 0.18934
}

Semantic roles & 50–950 ramp

primary
#875AF3
secondary
#DFEEBB
accent
#E303A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #875AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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