#9A47CE#9A47CE

#9A47CE is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.205 H 309.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9A47CE
RGBrgb(154, 71, 206)
HSLhsl(277, 58%, 54%)
HSVhsv(277, 66%, 81%)
CMYKcmyk(25.2%, 65.5%, 0%, 19.2%)
CIE-LABlab(46.75, 57.04, -55.80)
CIE-LCHlch(46.75, 79.79, 315.63°)
OKLaboklab(56.59% 0.1305 -0.1576)
OKLCHoklch(56.59% 0.205 309.6)
XYZxyz(26.7181, 15.8332, 60.0292)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A47CE #7BCE47
analogous
#5747CE #9A47CE #CE47BF
triadic
#9A47CE #CE9A47 #47CE9A
tetradic
#9A47CE #CE5747 #7BCE47 #47BFCE
square
#9A47CE #CE5747 #7BCE47 #47BFCE
split-complementary
#9A47CE #BFCE47 #47CE57
monochromatic
#58217A #7A2DAA #9A47CE #B577DB #CFA8E8

Accessibility & contrast

On white

5.04
#9A47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9A47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A47CE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A47CE#FFFFFF#000000##FFFFFF
##9A47CE1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#3270CB
Tritanopia (blue-blind)
#936385
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a47ce;
/* rgb */ color: rgb(154, 71, 206);
/* oklch */ color: oklch(56.6% 0.205 309.6);
Tailwind
colors: {
  custom: {
    50: '#bc80de',
    500: '#9a47ce',
    950: '#000000',
  },
}
SCSS
$custom: #9a47ce;
$custom-light: #bc80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9a47ce",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 276.889,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56587,
    "c": 0.20466,
    "h": 309.6
  },
  "luminance": 0.15833
}

Semantic roles & 50–950 ramp

primary
#9A47CE
secondary
#B2D59C
accent
#E14782
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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