#8F4AE5#8F4AE5

#8F4AE5 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.223 H 299.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8F4AE5
RGBrgb(143, 74, 229)
HSLhsl(267, 75%, 59%)
HSVhsv(267, 68%, 90%)
CMYKcmyk(37.6%, 67.7%, 0%, 10.2%)
CIE-LABlab(47.49, 58.71, -67.80)
CIE-LCHlch(47.49, 89.68, 310.89°)
OKLaboklab(57.32% 0.1103 -0.1933)
OKLCHoklch(57.32% 0.223 299.7)
XYZxyz(27.9158, 16.3941, 75.8072)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4AE5 #A0E54A
analogous
#4A53E5 #8F4AE5 #DD4AE5
triadic
#8F4AE5 #E58F4A #4AE58F
tetradic
#8F4AE5 #E54A53 #A0E54A #4AE5DD
square
#8F4AE5 #E54A53 #A0E54A #4AE5DD
split-complementary
#8F4AE5 #E5DD4A #53E54A
monochromatic
#53179E #6F1ED3 #8F4AE5 #B080ED #D1B5F4

Accessibility & contrast

On white

4.91
#8F4AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8F4AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4AE5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4AE5#FFFFFF#000000##FFFFFF
##8F4AE51.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#7B6F92
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f4ae5;
/* rgb */ color: rgb(143, 74, 229);
/* oklch */ color: oklch(57.3% 0.223 299.7);
Tailwind
colors: {
  custom: {
    50: '#b681ee',
    500: '#8f4ae5',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ae5;
$custom-light: #b681ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ae5",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 266.71,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57315,
    "c": 0.22254,
    "h": 299.7
  },
  "luminance": 0.16394
}

Semantic roles & 50–950 ramp

primary
#8F4AE5
secondary
#C9E4A7
accent
#F1369E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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