#8F5AE1#8F5AE1

#8F5AE1 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.2% C 0.197 H 298.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8F5AE1
RGBrgb(143, 90, 225)
HSLhsl(264, 69%, 62%)
HSVhsv(264, 60%, 88%)
CMYKcmyk(36.4%, 60%, 0%, 11.8%)
CIE-LABlab(50.20, 49.59, -61.15)
CIE-LCHlch(50.20, 78.73, 309.04°)
OKLaboklab(59.19% 0.0933 -0.1738)
OKLCHoklch(59.19% 0.197 298.2)
XYZxyz(28.5711, 18.5878, 73.3021)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5AE1 #ACE15A
analogous
#5A68E1 #8F5AE1 #D35AE1
triadic
#8F5AE1 #E18F5A #5AE18F
tetradic
#8F5AE1 #E15A68 #ACE15A #5AE1D3
square
#8F5AE1 #E15A68 #ACE15A #5AE1D3
split-complementary
#8F5AE1 #E1D35A #68E15A
monochromatic
#521EA3 #6C27D7 #8F5AE1 #B28EEA #D5C2F4

Accessibility & contrast

On white

4.45
#8F5AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8F5AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5AE1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5AE1#FFFFFF#000000##000000
##8F5AE11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#2476DE
Tritanopia (blue-blind)
#7C7795
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f5ae1;
/* rgb */ color: rgb(143, 90, 225);
/* oklch */ color: oklch(59.2% 0.197 298.2);
Tailwind
colors: {
  custom: {
    50: '#b58beb',
    500: '#8f5ae1',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ae1;
$custom-light: #b58beb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ae1",
  "rgb": {
    "r": 143,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 263.556,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59188,
    "c": 0.19722,
    "h": 298.2
  },
  "luminance": 0.18588
}

Semantic roles & 50–950 ramp

primary
#8F5AE1
secondary
#D1E4B2
accent
#D11487
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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