#8F4AE3#8F4AE3

#8F4AE3 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.220 H 300.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F4AE3
RGBrgb(143, 74, 227)
HSLhsl(267, 73%, 59%)
HSVhsv(267, 67%, 89%)
CMYKcmyk(37%, 67.4%, 0%, 11%)
CIE-LABlab(47.34, 58.22, -66.90)
CIE-LCHlch(47.34, 88.69, 311.03°)
OKLaboklab(57.17% 0.1106 -0.1906)
OKLCHoklch(57.17% 0.22 300.1)
XYZxyz(27.6382, 16.2830, 74.3450)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4AE3 #9EE34A
analogous
#4A52E3 #8F4AE3 #DC4AE3
triadic
#8F4AE3 #E38F4A #4AE38F
tetradic
#8F4AE3 #E34A52 #9EE34A #4AE3DC
square
#8F4AE3 #E34A52 #9EE34A #4AE3DC
split-complementary
#8F4AE3 #E3DC4A #52E34A
monochromatic
#53189B #6F20D0 #8F4AE3 #B07FEB #D1B4F3

Accessibility & contrast

On white

4.93
#8F4AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8F4AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4AE3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4AE3#FFFFFF#000000##FFFFFF
##8F4AE31.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#7C6E91
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4ae3;
/* rgb */ color: rgb(143, 74, 227);
/* oklch */ color: oklch(57.2% 0.220 300.1);
Tailwind
colors: {
  custom: {
    50: '#b681ed',
    500: '#8f4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ae3;
$custom-light: #b681ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ae3",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 267.059,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.22038,
    "h": 300.1
  },
  "luminance": 0.16283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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