#9A3ACB#9A3ACB

#9A3ACB is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.218 H 311.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9A3ACB
RGBrgb(154, 58, 203)
HSLhsl(280, 58%, 51%)
HSVhsv(280, 71%, 80%)
CMYKcmyk(24.1%, 71.4%, 0%, 20.4%)
CIE-LABlab(44.53, 62.07, -57.65)
CIE-LCHlch(44.53, 84.71, 317.11°)
OKLaboklab(54.93% 0.1446 -0.163)
OKLCHoklch(54.93% 0.218 311.6)
XYZxyz(25.6170, 14.2086, 57.8814)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3ACB #6BCB3A
analogous
#513ACB #9A3ACB #CB3AB3
triadic
#9A3ACB #CB9A3A #3ACB9A
tetradic
#9A3ACB #CB513A #6BCB3A #3AB3CB
square
#9A3ACB #CB513A #6BCB3A #3AB3CB
split-complementary
#9A3ACB #B3CB3A #3ACB51
monochromatic
#521D6E #772A9E #9A3ACB #B36AD8 #CC9BE5

Accessibility & contrast

On white

5.47
#9A3ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9A3ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3ACB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3ACB#FFFFFF#000000##FFFFFF
##9A3ACB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#945A7F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a3acb;
/* rgb */ color: rgb(154, 58, 203);
/* oklch */ color: oklch(54.9% 0.218 311.6);
Tailwind
colors: {
  custom: {
    50: '#bc79dc',
    500: '#9a3acb',
    950: '#000000',
  },
}
SCSS
$custom: #9a3acb;
$custom-light: #bc79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3acb",
  "rgb": {
    "r": 154,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 279.724,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54933,
    "c": 0.21789,
    "h": 311.6
  },
  "luminance": 0.14208
}

Semantic roles & 50–950 ramp

primary
#9A3ACB
secondary
#A6D090
accent
#E1467B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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