#8F4AE0#8F4AE0

#8F4AE0 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.217 H 300.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8F4AE0
RGBrgb(143, 74, 224)
HSLhsl(268, 71%, 58%)
HSVhsv(268, 67%, 88%)
CMYKcmyk(36.2%, 67%, 0%, 12.2%)
CIE-LABlab(47.13, 57.49, -65.55)
CIE-LCHlch(47.13, 87.19, 311.26°)
OKLaboklab(56.95% 0.111 -0.1866)
OKLCHoklch(56.95% 0.217 300.7)
XYZxyz(27.2277, 16.1188, 72.1833)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4AE0 #9BE04A
analogous
#4A50E0 #8F4AE0 #DA4AE0
triadic
#8F4AE0 #E08F4A #4AE08F
tetradic
#8F4AE0 #E04A50 #9BE04A #4AE0DA
square
#8F4AE0 #E04A50 #9BE04A #4AE0DA
split-complementary
#8F4AE0 #E0DA4A #50E04A
monochromatic
#531A96 #7023CA #8F4AE0 #AF7EE9 #D0B3F2

Accessibility & contrast

On white

4.97
#8F4AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8F4AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4AE0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4AE0#FFFFFF#000000##FFFFFF
##8F4AE01.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#006FDD
Tritanopia (blue-blind)
#7D6D8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4ae0;
/* rgb */ color: rgb(143, 74, 224);
/* oklch */ color: oklch(56.9% 0.217 300.7);
Tailwind
colors: {
  custom: {
    50: '#b581eb',
    500: '#8f4ae0',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ae0;
$custom-light: #b581eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ae0",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 224
  },
  "hsl": {
    "h": 267.6,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56947,
    "c": 0.21715,
    "h": 300.7
  },
  "luminance": 0.16119
}

Semantic roles & 50–950 ramp

primary
#8F4AE0
secondary
#C5E1A5
accent
#EE3A9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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