#8F5AE2#8F5AE2

#8F5AE2 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.3% C 0.198 H 298.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8F5AE2
RGBrgb(143, 90, 226)
HSLhsl(263, 70%, 62%)
HSVhsv(263, 60%, 89%)
CMYKcmyk(36.7%, 60.2%, 0%, 11.4%)
CIE-LABlab(50.27, 49.84, -61.61)
CIE-LCHlch(50.27, 79.24, 308.97°)
OKLaboklab(59.26% 0.0932 -0.1751)
OKLCHoklch(59.26% 0.198 298)
XYZxyz(28.7079, 18.6426, 74.0227)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5AE2 #ADE25A
analogous
#5A69E2 #8F5AE2 #D35AE2
triadic
#8F5AE2 #E28F5A #5AE28F
tetradic
#8F5AE2 #E25A69 #ADE25A #5AE2D3
square
#8F5AE2 #E25A69 #ADE25A #5AE2D3
split-complementary
#8F5AE2 #E2D35A #69E25A
monochromatic
#521DA5 #6C26D9 #8F5AE2 #B28EEB #D6C2F4

Accessibility & contrast

On white

4.44
#8F5AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8F5AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5AE2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5AE2#FFFFFF#000000##000000
##8F5AE21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#2176DF
Tritanopia (blue-blind)
#7C7796
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f5ae2;
/* rgb */ color: rgb(143, 90, 226);
/* oklch */ color: oklch(59.3% 0.198 298.0);
Tailwind
colors: {
  custom: {
    50: '#b58bec',
    500: '#8f5ae2',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ae2;
$custom-light: #b58bec;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ae2",
  "rgb": {
    "r": 143,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 263.382,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59256,
    "c": 0.19839,
    "h": 298
  },
  "luminance": 0.18643
}

Semantic roles & 50–950 ramp

primary
#8F5AE2
secondary
#D1E5B3
accent
#D21388
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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