#9A3ACC#9A3ACC

#9A3ACC is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.0% C 0.219 H 311.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9A3ACC
RGBrgb(154, 58, 204)
HSLhsl(279, 59%, 51%)
HSVhsv(279, 72%, 80%)
CMYKcmyk(24.5%, 71.6%, 0%, 20%)
CIE-LABlab(44.60, 62.27, -58.12)
CIE-LCHlch(44.60, 85.18, 316.98°)
OKLaboklab(55% 0.1445 -0.1644)
OKLCHoklch(55% 0.219 311.3)
XYZxyz(25.7365, 14.2564, 58.5110)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3ACC #6CCC3A
analogous
#513ACC #9A3ACC #CC3AB5
triadic
#9A3ACC #CC9A3A #3ACC9A
tetradic
#9A3ACC #CC513A #6CCC3A #3AB5CC
square
#9A3ACC #CC513A #6CCC3A #3AB5CC
split-complementary
#9A3ACC #B5CC3A #3ACC51
monochromatic
#531D6F #7729A0 #9A3ACC #B36BD9 #CC9BE5

Accessibility & contrast

On white

5.45
#9A3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9A3ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3ACC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3ACC#FFFFFF#000000##FFFFFF
##9A3ACC1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#246BC9
Tritanopia (blue-blind)
#945A80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a3acc;
/* rgb */ color: rgb(154, 58, 204);
/* oklch */ color: oklch(55.0% 0.219 311.3);
Tailwind
colors: {
  custom: {
    50: '#bc79dc',
    500: '#9a3acc',
    950: '#000000',
  },
}
SCSS
$custom: #9a3acc;
$custom-light: #bc79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3acc",
  "rgb": {
    "r": 154,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 279.452,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55003,
    "c": 0.21884,
    "h": 311.3
  },
  "luminance": 0.14256
}

Semantic roles & 50–950 ramp

primary
#9A3ACC
secondary
#A7D191
accent
#E2467B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

#9A3ACC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva