#9A47DA#9A47DA

#9A47DA is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.4% C 0.217 H 306.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9A47DA
RGBrgb(154, 71, 218)
HSLhsl(274, 67%, 57%)
HSVhsv(274, 67%, 85%)
CMYKcmyk(29.4%, 67.4%, 0%, 14.5%)
CIE-LABlab(47.55, 59.71, -61.40)
CIE-LCHlch(47.55, 85.64, 314.20°)
OKLaboklab(57.4% 0.1294 -0.1741)
OKLCHoklch(57.4% 0.217 306.6)
XYZxyz(28.2318, 16.4388, 68.0018)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A47DA #87DA47
analogous
#5147DA #9A47DA #DA47D0
triadic
#9A47DA #DA9A47 #47DA9A
tetradic
#9A47DA #DA5147 #87DA47 #47D0DA
square
#9A47DA #DA5147 #87DA47 #47D0DA
split-complementary
#9A47DA #D0DA47 #47DA51
monochromatic
#5A1C8B #7C26BE #9A47DA #B67AE4 #D2ADEE

Accessibility & contrast

On white

4.90
#9A47DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9A47DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A47DA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A47DA#FFFFFF#000000##FFFFFF
##9A47DA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#1E71D7
Tritanopia (blue-blind)
#8F678B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a47da;
/* rgb */ color: rgb(154, 71, 218);
/* oklch */ color: oklch(57.4% 0.217 306.6);
Tailwind
colors: {
  custom: {
    50: '#bc80e6',
    500: '#9a47da',
    950: '#000000',
  },
}
SCSS
$custom: #9a47da;
$custom-light: #bc80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a47da",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 273.878,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.21691,
    "h": 306.6
  },
  "luminance": 0.16438
}

Semantic roles & 50–950 ramp

primary
#9A47DA
secondary
#BBDCA0
accent
#E93E89
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A47DA

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

Preview Lab → · Contrast checker → · Palette generator →

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