#875AF4#875AF4

#875AF4 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.8% C 0.219 H 291.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#875AF4
RGBrgb(135, 90, 244)
HSLhsl(258, 88%, 65%)
HSVhsv(258, 63%, 96%)
CMYKcmyk(44.7%, 63.1%, 0%, 4.3%)
CIE-LABlab(50.68, 52.91, -71.09)
CIE-LCHlch(50.68, 88.62, 306.66°)
OKLaboklab(59.76% 0.0815 -0.2032)
OKLCHoklch(59.76% 0.219 291.9)
XYZxyz(29.9724, 18.9939, 87.6574)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AF4 #C7F45A
analogous
#5A7AF4 #875AF4 #D45AF4
triadic
#875AF4 #F4875A #5AF487
tetradic
#875AF4 #F45A7A #C7F45A #5AF4D4
square
#875AF4 #F45A7A #C7F45A #5AF4D4
split-complementary
#875AF4 #F4D45A #7AF45A
monochromatic
#430DC6 #5D21F0 #875AF4 #B193F8 #DACDFC

Accessibility & contrast

On white

4.38
#875AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#875AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875AF4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AF4#FFFFFF#000000##000000
##875AF41.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#0075F1
Tritanopia (blue-blind)
#677E9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #875af4;
/* rgb */ color: rgb(135, 90, 244);
/* oklch */ color: oklch(59.8% 0.219 291.9);
Tailwind
colors: {
  custom: {
    50: '#b18bf9',
    500: '#875af4',
    950: '#000000',
  },
}
SCSS
$custom: #875af4;
$custom-light: #b18bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#875af4",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 257.532,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59756,
    "c": 0.219,
    "h": 291.9
  },
  "luminance": 0.18995
}

Semantic roles & 50–950 ramp

primary
#875AF4
secondary
#E0EFBB
accent
#E401A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #875AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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