#8F4AE2#8F4AE2

#8F4AE2 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.219 H 300.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8F4AE2
RGBrgb(143, 74, 226)
HSLhsl(267, 72%, 59%)
HSVhsv(267, 67%, 89%)
CMYKcmyk(36.7%, 67.3%, 0%, 11.4%)
CIE-LABlab(47.27, 57.98, -66.45)
CIE-LCHlch(47.27, 88.19, 311.10°)
OKLaboklab(57.09% 0.1107 -0.1893)
OKLCHoklch(57.09% 0.219 300.3)
XYZxyz(27.5006, 16.2280, 73.6202)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4AE2 #9DE24A
analogous
#4A51E2 #8F4AE2 #DB4AE2
triadic
#8F4AE2 #E28F4A #4AE28F
tetradic
#8F4AE2 #E24A51 #9DE24A #4AE2DB
square
#8F4AE2 #E24A51 #9DE24A #4AE2DB
split-complementary
#8F4AE2 #E2DB4A #51E24A
monochromatic
#531999 #6F21CE #8F4AE2 #B07FEA #D0B3F3

Accessibility & contrast

On white

4.95
#8F4AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8F4AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4AE2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4AE2#FFFFFF#000000##FFFFFF
##8F4AE21.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#7D6E90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4ae2;
/* rgb */ color: rgb(143, 74, 226);
/* oklch */ color: oklch(57.1% 0.219 300.3);
Tailwind
colors: {
  custom: {
    50: '#b681ec',
    500: '#8f4ae2',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ae2;
$custom-light: #b681ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ae2",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 267.237,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57093,
    "c": 0.21931,
    "h": 300.3
  },
  "luminance": 0.16228
}

Semantic roles & 50–950 ramp

primary
#8F4AE2
secondary
#C7E2A6
accent
#EF399C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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