#9A47CD#9A47CD

#9A47CD is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.204 H 309.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9A47CD
RGBrgb(154, 71, 205)
HSLhsl(277, 57%, 54%)
HSVhsv(277, 65%, 80%)
CMYKcmyk(24.9%, 65.4%, 0%, 19.6%)
CIE-LABlab(46.69, 56.82, -55.32)
CIE-LCHlch(46.69, 79.31, 315.76°)
OKLaboklab(56.52% 0.1306 -0.1562)
OKLCHoklch(56.52% 0.204 309.9)
XYZxyz(26.5970, 15.7848, 59.3914)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A47CD #7ACD47
analogous
#5747CD #9A47CD #CD47BD
triadic
#9A47CD #CD9A47 #47CD9A
tetradic
#9A47CD #CD5747 #7ACD47 #47BDCD
square
#9A47CD #CD5747 #7ACD47 #47BDCD
split-complementary
#9A47CD #BDCD47 #47CD57
monochromatic
#572179 #7A2EA9 #9A47CD #B477DA #CFA7E7

Accessibility & contrast

On white

5.05
#9A47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9A47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A47CD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A47CD#FFFFFF#000000##FFFFFF
##9A47CD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#3470CA
Tritanopia (blue-blind)
#936284
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a47cd;
/* rgb */ color: rgb(154, 71, 205);
/* oklch */ color: oklch(56.5% 0.204 309.9);
Tailwind
colors: {
  custom: {
    50: '#bc80dd',
    500: '#9a47cd',
    950: '#000000',
  },
}
SCSS
$custom: #9a47cd;
$custom-light: #bc80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a47cd",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 277.164,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5652,
    "c": 0.20364,
    "h": 309.9
  },
  "luminance": 0.15784
}

Semantic roles & 50–950 ramp

primary
#9A47CD
secondary
#B1D49B
accent
#E14782
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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