#8F3AC1#8F3AC1

#8F3AC1 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.205 H 310.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8F3AC1
RGBrgb(143, 58, 193)
HSLhsl(278, 54%, 49%)
HSVhsv(278, 70%, 76%)
CMYKcmyk(25.9%, 69.9%, 0%, 24.3%)
CIE-LABlab(42.33, 57.71, -55.47)
CIE-LCHlch(42.33, 80.04, 316.13°)
OKLaboklab(52.84% 0.1316 -0.1569)
OKLCHoklch(52.84% 0.205 310)
XYZxyz(22.4645, 12.7165, 51.7129)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AC1 #6CC13A
analogous
#4C3AC1 #8F3AC1 #C13AB0
triadic
#8F3AC1 #C18F3A #3AC18F
tetradic
#8F3AC1 #C14C3A #6CC13A #3AB0C1
square
#8F3AC1 #C14C3A #6CC13A #3AB0C1
split-complementary
#8F3AC1 #B0C13A #3AC14C
monochromatic
#491E63 #6C2C92 #8F3AC1 #AA67D1 #C496DF

Accessibility & contrast

On white

5.93
#8F3AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8F3AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AC1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AC1#FFFFFF#000000##FFFFFF
##8F3AC11.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#2265BE
Tritanopia (blue-blind)
#885879
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3ac1;
/* rgb */ color: rgb(143, 58, 193);
/* oklch */ color: oklch(52.8% 0.205 310.0);
Tailwind
colors: {
  custom: {
    50: '#b477d4',
    500: '#8f3ac1',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ac1;
$custom-light: #b477d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ac1",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 277.778,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52836,
    "c": 0.20483,
    "h": 310
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#8F3AC1
secondary
#A3CB8C
accent
#DD4B81
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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