#8F4FE4#8F4FE4

#8F4FE4 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.215 H 299.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8F4FE4
RGBrgb(143, 79, 228)
HSLhsl(266, 73%, 60%)
HSVhsv(266, 65%, 89%)
CMYKcmyk(37.3%, 65.4%, 0%, 10.6%)
CIE-LABlab(48.30, 56.02, -65.91)
CIE-LCHlch(48.30, 86.51, 310.36°)
OKLaboklab(57.88% 0.1053 -0.1877)
OKLCHoklch(57.88% 0.215 299.3)
XYZxyz(28.1238, 17.0327, 75.1897)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FE4 #A4E44F
analogous
#4F59E4 #8F4FE4 #DA4FE4
triadic
#8F4FE4 #E48F4F #4FE48F
tetradic
#8F4FE4 #E44F59 #A4E44F #4FE4DA
square
#8F4FE4 #E44F59 #A4E44F #4FE4DA
split-complementary
#8F4FE4 #E4DA4F #59E44F
monochromatic
#5319A0 #6E21D5 #8F4FE4 #B184EC #D3B9F4

Accessibility & contrast

On white

4.77
#8F4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8F4FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FE4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FE4#FFFFFF#000000##FFFFFF
##8F4FE41.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#0071E1
Tritanopia (blue-blind)
#7C7193
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f4fe4;
/* rgb */ color: rgb(143, 79, 228);
/* oklch */ color: oklch(57.9% 0.215 299.3);
Tailwind
colors: {
  custom: {
    50: '#b684ed',
    500: '#8f4fe4',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fe4;
$custom-light: #b684ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fe4",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 265.772,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57876,
    "c": 0.21524,
    "h": 299.3
  },
  "luminance": 0.17033
}

Semantic roles & 50–950 ramp

primary
#8F4FE4
secondary
#CBE4AB
accent
#D61081
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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