#8F3ED6#8F3ED6

#8F3ED6 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.221 H 304.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8F3ED6
RGBrgb(143, 62, 214)
HSLhsl(272, 65%, 54%)
HSVhsv(272, 71%, 84%)
CMYKcmyk(33.2%, 71%, 0%, 16.1%)
CIE-LABlab(44.43, 60.66, -64.21)
CIE-LCHlch(44.43, 88.34, 313.37°)
OKLaboklab(54.8% 0.1245 -0.1827)
OKLCHoklch(54.8% 0.221 304.3)
XYZxyz(25.1851, 14.1400, 65.0078)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3ED6 #85D63E
analogous
#433ED6 #8F3ED6 #D63ED1
triadic
#8F3ED6 #D68F3E #3ED68F
tetradic
#8F3ED6 #D6433E #85D63E #3ED1D6
square
#8F3ED6 #D6433E #85D63E #3ED1D6
split-complementary
#8F3ED6 #D1D63E #3ED643
monochromatic
#501B7F #7026B1 #8F3ED6 #AC70E1 #CAA3EB

Accessibility & contrast

On white

5.49
#8F3ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8F3ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3ED6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3ED6#FFFFFF#000000##FFFFFF
##8F3ED61.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#816286
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f3ed6;
/* rgb */ color: rgb(143, 62, 214);
/* oklch */ color: oklch(54.8% 0.221 304.3);
Tailwind
colors: {
  custom: {
    50: '#b57ae4',
    500: '#8f3ed6',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ed6;
$custom-light: #b57ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ed6",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 214
  },
  "hsl": {
    "h": 271.974,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.22109,
    "h": 304.3
  },
  "luminance": 0.1414
}

Semantic roles & 50–950 ramp

primary
#8F3ED6
secondary
#B6D898
accent
#E8408E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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