#8F3ED4#8F3ED4

#8F3ED4 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.219 H 304.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8F3ED4
RGBrgb(143, 62, 212)
HSLhsl(272, 64%, 54%)
HSVhsv(272, 71%, 83%)
CMYKcmyk(32.5%, 70.8%, 0%, 16.9%)
CIE-LABlab(44.29, 60.20, -63.30)
CIE-LCHlch(44.29, 87.36, 313.56°)
OKLaboklab(54.65% 0.1249 -0.18)
OKLCHoklch(54.65% 0.219 304.7)
XYZxyz(24.9313, 14.0385, 63.6709)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3ED4 #83D43E
analogous
#443ED4 #8F3ED4 #D43ECE
triadic
#8F3ED4 #D48F3E #3ED48F
tetradic
#8F3ED4 #D4443E #83D43E #3ECED4
square
#8F3ED4 #D4443E #83D43E #3ECED4
split-complementary
#8F3ED4 #CED43E #3ED444
monochromatic
#501C7C #7027AE #8F3ED4 #AC70DF #C9A2EA

Accessibility & contrast

On white

5.52
#8F3ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8F3ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3ED4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3ED4#FFFFFF#000000##FFFFFF
##8F3ED41.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#826185
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f3ed4;
/* rgb */ color: rgb(143, 62, 212);
/* oklch */ color: oklch(54.6% 0.219 304.7);
Tailwind
colors: {
  custom: {
    50: '#b57ae2',
    500: '#8f3ed4',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ed4;
$custom-light: #b57ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ed4",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 212
  },
  "hsl": {
    "h": 272.4,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.21906,
    "h": 304.7
  },
  "luminance": 0.14038
}

Semantic roles & 50–950 ramp

primary
#8F3ED4
secondary
#B4D797
accent
#E7418D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8F3ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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