#8F3AC0#8F3AC0

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

Color values

HEX#8F3AC0
RGBrgb(143, 58, 192)
HSLhsl(278, 54%, 49%)
HSVhsv(278, 70%, 75%)
CMYKcmyk(25.5%, 69.8%, 0%, 24.7%)
CIE-LABlab(42.26, 57.49, -54.99)
CIE-LCHlch(42.26, 79.56, 316.27°)
OKLaboklab(52.77% 0.1317 -0.1556)
OKLCHoklch(52.77% 0.204 310.3)
XYZxyz(22.3533, 12.6720, 51.1273)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AC0 #6BC03A
analogous
#4C3AC0 #8F3AC0 #C03AAE
triadic
#8F3AC0 #C08F3A #3AC08F
tetradic
#8F3AC0 #C04C3A #6BC03A #3AAEC0
square
#8F3AC0 #C04C3A #6BC03A #3AAEC0
split-complementary
#8F3AC0 #AEC03A #3AC04C
monochromatic
#491E62 #6C2C91 #8F3AC0 #AA66D1 #C495DF

Accessibility & contrast

On white

5.94
#8F3AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8F3AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AC0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AC0#FFFFFF#000000##FFFFFF
##8F3AC01.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#2365BD
Tritanopia (blue-blind)
#885779
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3ac0;
/* rgb */ color: rgb(143, 58, 192);
/* oklch */ color: oklch(52.8% 0.204 310.3);
Tailwind
colors: {
  custom: {
    50: '#b477d4',
    500: '#8f3ac0',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ac0;
$custom-light: #b477d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ac0",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 278.06,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.20385,
    "h": 310.3
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#8F3AC0
secondary
#A2CA8B
accent
#DD4B80
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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