#8F3AC5#8F3AC5

#8F3AC5 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.209 H 308.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8F3AC5
RGBrgb(143, 58, 197)
HSLhsl(277, 55%, 50%)
HSVhsv(277, 71%, 77%)
CMYKcmyk(27.4%, 70.6%, 0%, 22.7%)
CIE-LABlab(42.61, 58.58, -57.35)
CIE-LCHlch(42.61, 81.98, 315.61°)
OKLaboklab(53.12% 0.1311 -0.1625)
OKLCHoklch(53.12% 0.209 308.9)
XYZxyz(22.9168, 12.8974, 54.0947)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AC5 #70C53A
analogous
#4A3AC5 #8F3AC5 #C53AB5
triadic
#8F3AC5 #C58F3A #3AC58F
tetradic
#8F3AC5 #C54A3A #70C53A #3AB5C5
square
#8F3AC5 #C54A3A #70C53A #3AB5C5
split-complementary
#8F3AC5 #B5C53A #3AC54A
monochromatic
#4A1E66 #6D2C96 #8F3AC5 #AA69D3 #C599E1

Accessibility & contrast

On white

5.87
#8F3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8F3AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AC5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AC5#FFFFFF#000000##FFFFFF
##8F3AC51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#1A66C2
Tritanopia (blue-blind)
#87597C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3ac5;
/* rgb */ color: rgb(143, 58, 197);
/* oklch */ color: oklch(53.1% 0.209 308.9);
Tailwind
colors: {
  custom: {
    50: '#b477d7',
    500: '#8f3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ac5;
$custom-light: #b477d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ac5",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 276.691,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.20878,
    "h": 308.9
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#8F3AC5
secondary
#A6CD8E
accent
#DE4A83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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