#8F3AC8#8F3AC8

#8F3AC8 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.3% C 0.212 H 308.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8F3AC8
RGBrgb(143, 58, 200)
HSLhsl(276, 56%, 51%)
HSVhsv(276, 71%, 78%)
CMYKcmyk(28.5%, 71%, 0%, 21.6%)
CIE-LABlab(42.82, 59.24, -58.76)
CIE-LCHlch(42.82, 83.44, 315.23°)
OKLaboklab(53.34% 0.1307 -0.1666)
OKLCHoklch(53.34% 0.212 308.1)
XYZxyz(23.2639, 13.0362, 55.9231)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AC8 #73C83A
analogous
#483AC8 #8F3AC8 #C83ABA
triadic
#8F3AC8 #C88F3A #3AC88F
tetradic
#8F3AC8 #C8483A #73C83A #3ABAC8
square
#8F3AC8 #C8483A #73C83A #3ABAC8
split-complementary
#8F3AC8 #BAC83A #3AC848
monochromatic
#4B1E6A #6D2B9A #8F3AC8 #AA6AD5 #C59AE3

Accessibility & contrast

On white

5.82
#8F3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8F3AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AC8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AC8#FFFFFF#000000##FFFFFF
##8F3AC81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#1166C5
Tritanopia (blue-blind)
#865A7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3ac8;
/* rgb */ color: rgb(143, 58, 200);
/* oklch */ color: oklch(53.3% 0.212 308.1);
Tailwind
colors: {
  custom: {
    50: '#b577da',
    500: '#8f3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ac8;
$custom-light: #b577da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ac8",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 275.915,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.21175,
    "h": 308.1
  },
  "luminance": 0.13036
}

Semantic roles & 50–950 ramp

primary
#8F3AC8
secondary
#A9CE8F
accent
#E04885
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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