#9A47CA#9A47CA

#9A47CA is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.201 H 310.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9A47CA
RGBrgb(154, 71, 202)
HSLhsl(278, 55%, 54%)
HSVhsv(278, 65%, 79%)
CMYKcmyk(23.8%, 64.9%, 0%, 20.8%)
CIE-LABlab(46.50, 56.17, -53.90)
CIE-LCHlch(46.50, 77.85, 316.18°)
OKLaboklab(56.32% 0.1308 -0.1521)
OKLCHoklch(56.32% 0.201 310.7)
XYZxyz(26.2383, 15.6413, 57.5025)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A47CA #77CA47
analogous
#5847CA #9A47CA #CA47B8
triadic
#9A47CA #CA9A47 #47CA9A
tetradic
#9A47CA #CA5847 #77CA47 #47B8CA
square
#9A47CA #CA5847 #77CA47 #47B8CA
split-complementary
#9A47CA #B8CA47 #47CA58
monochromatic
#562275 #7A2FA4 #9A47CA #B477D8 #CEA6E5

Accessibility & contrast

On white

5.09
#9A47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9A47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A47CA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A47CA#FFFFFF#000000##FFFFFF
##9A47CA1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#3770C7
Tritanopia (blue-blind)
#946182
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9a47ca;
/* rgb */ color: rgb(154, 71, 202);
/* oklch */ color: oklch(56.3% 0.201 310.7);
Tailwind
colors: {
  custom: {
    50: '#bc80db',
    500: '#9a47ca',
    950: '#000000',
  },
}
SCSS
$custom: #9a47ca;
$custom-light: #bc80db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a47ca",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 278.015,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56322,
    "c": 0.20058,
    "h": 310.7
  },
  "luminance": 0.15641
}

Semantic roles & 50–950 ramp

primary
#9A47CA
secondary
#AFD29A
accent
#DF4980
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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