#8F5AE5#8F5AE5

#8F5AE5 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.5% C 0.202 H 297.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8F5AE5
RGBrgb(143, 90, 229)
HSLhsl(263, 73%, 63%)
HSVhsv(263, 61%, 90%)
CMYKcmyk(37.6%, 60.7%, 0%, 10.2%)
CIE-LABlab(50.46, 50.61, -62.98)
CIE-LCHlch(50.46, 80.80, 308.78°)
OKLaboklab(59.46% 0.0931 -0.1792)
OKLCHoklch(59.46% 0.202 297.5)
XYZxyz(29.1231, 18.8087, 76.2096)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5AE5 #B0E55A
analogous
#5A6AE5 #8F5AE5 #D55AE5
triadic
#8F5AE5 #E58F5A #5AE58F
tetradic
#8F5AE5 #E55A6A #B0E55A #5AE5D5
square
#8F5AE5 #E55A6A #B0E55A #5AE5D5
split-complementary
#8F5AE5 #E5D55A #6AE55A
monochromatic
#511BAA #6B25DD #8F5AE5 #B38FED #D7C4F6

Accessibility & contrast

On white

4.41
#8F5AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8F5AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5AE5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5AE5#FFFFFF#000000##000000
##8F5AE51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#1A77E2
Tritanopia (blue-blind)
#7B7897
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f5ae5;
/* rgb */ color: rgb(143, 90, 229);
/* oklch */ color: oklch(59.5% 0.202 297.5);
Tailwind
colors: {
  custom: {
    50: '#b58bee',
    500: '#8f5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ae5;
$custom-light: #b58bee;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ae5",
  "rgb": {
    "r": 143,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 262.878,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.20191,
    "h": 297.5
  },
  "luminance": 0.18809
}

Semantic roles & 50–950 ramp

primary
#8F5AE5
secondary
#D3E7B4
accent
#D5118A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

#8F5AE5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva