#8F3ED5#8F3ED5

#8F3ED5 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.7% C 0.220 H 304.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8F3ED5
RGBrgb(143, 62, 213)
HSLhsl(272, 64%, 54%)
HSVhsv(272, 71%, 84%)
CMYKcmyk(32.9%, 70.9%, 0%, 16.5%)
CIE-LABlab(44.36, 60.43, -63.76)
CIE-LCHlch(44.36, 87.85, 313.47°)
OKLaboklab(54.72% 0.1247 -0.1813)
OKLCHoklch(54.72% 0.22 304.5)
XYZxyz(25.0578, 14.0891, 64.3373)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3ED5 #84D53E
analogous
#443ED5 #8F3ED5 #D53ED0
triadic
#8F3ED5 #D58F3E #3ED58F
tetradic
#8F3ED5 #D5443E #84D53E #3ED0D5
square
#8F3ED5 #D5443E #84D53E #3ED0D5
split-complementary
#8F3ED5 #D0D53E #3ED544
monochromatic
#501B7D #7026B0 #8F3ED5 #AC70E0 #C9A3EB

Accessibility & contrast

On white

5.50
#8F3ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8F3ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3ED5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3ED5#FFFFFF#000000##FFFFFF
##8F3ED51.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#826286
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f3ed5;
/* rgb */ color: rgb(143, 62, 213);
/* oklch */ color: oklch(54.7% 0.220 304.5);
Tailwind
colors: {
  custom: {
    50: '#b57ae3',
    500: '#8f3ed5',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ed5;
$custom-light: #b57ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ed5",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 272.185,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54723,
    "c": 0.22008,
    "h": 304.5
  },
  "luminance": 0.14089
}

Semantic roles & 50–950 ramp

primary
#8F3ED5
secondary
#B5D897
accent
#E7418E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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