#9A3AC8#9A3AC8

#9A3AC8 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.215 H 312.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9A3AC8
RGBrgb(154, 58, 200)
HSLhsl(281, 56%, 51%)
HSVhsv(281, 71%, 78%)
CMYKcmyk(23%, 71%, 0%, 21.6%)
CIE-LABlab(44.33, 61.44, -56.24)
CIE-LCHlch(44.33, 83.29, 317.53°)
OKLaboklab(54.73% 0.145 -0.1589)
OKLCHoklch(54.73% 0.215 312.4)
XYZxyz(25.2629, 14.0670, 56.0168)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3AC8 #68C83A
analogous
#533AC8 #9A3AC8 #C83AAF
triadic
#9A3AC8 #C89A3A #3AC89A
tetradic
#9A3AC8 #C8533A #68C83A #3AAFC8
square
#9A3AC8 #C8533A #68C83A #3AAFC8
split-complementary
#9A3AC8 #AFC83A #3AC853
monochromatic
#511E6A #762B9A #9A3AC8 #B36AD5 #CB9AE3

Accessibility & contrast

On white

5.51
#9A3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9A3AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3AC8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3AC8#FFFFFF#000000##FFFFFF
##9A3AC81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#2A6BC5
Tritanopia (blue-blind)
#95597D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a3ac8;
/* rgb */ color: rgb(154, 58, 200);
/* oklch */ color: oklch(54.7% 0.215 312.4);
Tailwind
colors: {
  custom: {
    50: '#bc78d9',
    500: '#9a3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #9a3ac8;
$custom-light: #bc78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3ac8",
  "rgb": {
    "r": 154,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 280.563,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54726,
    "c": 0.21506,
    "h": 312.4
  },
  "luminance": 0.14066
}

Semantic roles & 50–950 ramp

primary
#9A3AC8
secondary
#A4CE8F
accent
#E04879
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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