#9A47DE#9A47DE

#9A47DE is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.7% C 0.221 H 305.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9A47DE
RGBrgb(154, 71, 222)
HSLhsl(273, 70%, 57%)
HSVhsv(273, 68%, 87%)
CMYKcmyk(30.6%, 68%, 0%, 12.9%)
CIE-LABlab(47.82, 60.61, -63.23)
CIE-LCHlch(47.82, 87.59, 313.79°)
OKLaboklab(57.69% 0.129 -0.1795)
OKLCHoklch(57.69% 0.221 305.7)
XYZxyz(28.7616, 16.6507, 70.7918)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A47DE #8BDE47
analogous
#4E47DE #9A47DE #DE47D7
triadic
#9A47DE #DE9A47 #47DE9A
tetradic
#9A47DE #DE4E47 #8BDE47 #47D7DE
square
#9A47DE #DE4E47 #8BDE47 #47D7DE
split-complementary
#9A47DE #D7DE47 #47DE4E
monochromatic
#5B1A91 #7C23C5 #9A47DE #B67BE7 #D3AFF1

Accessibility & contrast

On white

4.85
#9A47DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9A47DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A47DE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A47DE#FFFFFF#000000##FFFFFF
##9A47DE1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#1372DB
Tritanopia (blue-blind)
#8E698D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a47de;
/* rgb */ color: rgb(154, 71, 222);
/* oklch */ color: oklch(57.7% 0.221 305.7);
Tailwind
colors: {
  custom: {
    50: '#bd80e9',
    500: '#9a47de',
    950: '#000000',
  },
}
SCSS
$custom: #9a47de;
$custom-light: #bd80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a47de",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 272.98,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57686,
    "c": 0.22099,
    "h": 305.7
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#9A47DE
secondary
#BDDFA2
accent
#EC3B8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A47DE

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

Preview Lab → · Contrast checker → · Palette generator →

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