#9A4ABC#9A4ABC

#9A4ABC is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.8% C 0.182 H 314.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9A4ABC
RGBrgb(154, 74, 188)
HSLhsl(282, 46%, 51%)
HSVhsv(282, 61%, 74%)
CMYKcmyk(18.1%, 60.6%, 0%, 26.3%)
CIE-LABlab(46.18, 51.72, -46.30)
CIE-LCHlch(46.18, 69.42, 318.16°)
OKLaboklab(55.82% 0.1275 -0.1298)
OKLCHoklch(55.82% 0.182 314.5)
XYZxyz(24.8508, 15.3992, 49.2305)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4ABC #6CBC4A
analogous
#614ABC #9A4ABC #BC4AA5
triadic
#9A4ABC #BC9A4A #4ABC9A
tetradic
#9A4ABC #BC614A #6CBC4A #4AA5BC
square
#9A4ABC #BC614A #6CBC4A #4AA5BC
split-complementary
#9A4ABC #A5BC4A #4ABC61
monochromatic
#532666 #773693 #9A4ABC #B377CD #CCA3DD

Accessibility & contrast

On white

5.15
#9A4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9A4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4ABC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4ABC#FFFFFF#000000##FFFFFF
##9A4ABC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#476FB9
Tritanopia (blue-blind)
#975E7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a4abc;
/* rgb */ color: rgb(154, 74, 188);
/* oklch */ color: oklch(55.8% 0.182 314.5);
Tailwind
colors: {
  custom: {
    50: '#bb81d1',
    500: '#9a4abc',
    950: '#000000',
  },
}
SCSS
$custom: #9a4abc;
$custom-light: #bb81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4abc",
  "rgb": {
    "r": 154,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 282.105,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55816,
    "c": 0.182,
    "h": 314.5
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#9A4ABC
secondary
#A7CA98
accent
#D65279
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9A4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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