#9A3ACA#9A3ACA

#9A3ACA is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.217 H 311.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9A3ACA
RGBrgb(154, 58, 202)
HSLhsl(280, 58%, 51%)
HSVhsv(280, 71%, 79%)
CMYKcmyk(23.8%, 71.3%, 0%, 20.8%)
CIE-LABlab(44.46, 61.86, -57.18)
CIE-LCHlch(44.46, 84.24, 317.25°)
OKLaboklab(54.86% 0.1447 -0.1616)
OKLCHoklch(54.86% 0.217 311.8)
XYZxyz(25.4982, 14.1611, 57.2558)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3ACA #6ACA3A
analogous
#523ACA #9A3ACA #CA3AB2
triadic
#9A3ACA #CA9A3A #3ACA9A
tetradic
#9A3ACA #CA523A #6ACA3A #3AB2CA
square
#9A3ACA #CA523A #6ACA3A #3AB2CA
split-complementary
#9A3ACA #B2CA3A #3ACA52
monochromatic
#521D6C #762A9D #9A3ACA #B36AD7 #CB9AE4

Accessibility & contrast

On white

5.48
#9A3ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9A3ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3ACA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3ACA#FFFFFF#000000##FFFFFF
##9A3ACA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#276BC7
Tritanopia (blue-blind)
#945A7E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a3aca;
/* rgb */ color: rgb(154, 58, 202);
/* oklch */ color: oklch(54.9% 0.217 311.8);
Tailwind
colors: {
  custom: {
    50: '#bc79db',
    500: '#9a3aca',
    950: '#000000',
  },
}
SCSS
$custom: #9a3aca;
$custom-light: #bc79db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3aca",
  "rgb": {
    "r": 154,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 280,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54864,
    "c": 0.21694,
    "h": 311.8
  },
  "luminance": 0.1416
}

Semantic roles & 50–950 ramp

primary
#9A3ACA
secondary
#A5D090
accent
#E1477A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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