#9A47D7#9A47D7

#9A47D7 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.214 H 307.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9A47D7
RGBrgb(154, 71, 215)
HSLhsl(275, 64%, 56%)
HSVhsv(275, 67%, 84%)
CMYKcmyk(28.4%, 67%, 0%, 15.7%)
CIE-LABlab(47.34, 59.03, -60.01)
CIE-LCHlch(47.34, 84.18, 314.53°)
OKLaboklab(57.2% 0.1297 -0.17)
OKLCHoklch(57.2% 0.214 307.4)
XYZxyz(27.8428, 16.2832, 65.9530)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A47D7 #84D747
analogous
#5247D7 #9A47D7 #D747CC
triadic
#9A47D7 #D79A47 #47D79A
tetradic
#9A47D7 #D75247 #84D747 #47CCD7
square
#9A47D7 #D75247 #84D747 #47CCD7
split-complementary
#9A47D7 #CCD747 #47D752
monochromatic
#5A1D86 #7B28B9 #9A47D7 #B679E2 #D1ACED

Accessibility & contrast

On white

4.93
#9A47D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9A47D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A47D7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A47D7#FFFFFF#000000##FFFFFF
##9A47D71.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#2471D4
Tritanopia (blue-blind)
#906689
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9a47d7;
/* rgb */ color: rgb(154, 71, 215);
/* oklch */ color: oklch(57.2% 0.214 307.4);
Tailwind
colors: {
  custom: {
    50: '#bc80e4',
    500: '#9a47d7',
    950: '#000000',
  },
}
SCSS
$custom: #9a47d7;
$custom-light: #bc80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a47d7",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 274.583,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57197,
    "c": 0.21384,
    "h": 307.4
  },
  "luminance": 0.16283
}

Semantic roles & 50–950 ramp

primary
#9A47D7
secondary
#B8DB9F
accent
#E74187
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A47D7

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

Preview Lab → · Contrast checker → · Palette generator →

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