#9A47E4#9A47E4

#9A47E4 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.227 H 304.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9A47E4
RGBrgb(154, 71, 228)
HSLhsl(272, 74%, 59%)
HSVhsv(272, 69%, 89%)
CMYKcmyk(32.5%, 68.9%, 0%, 10.6%)
CIE-LABlab(48.23, 61.97, -65.96)
CIE-LCHlch(48.23, 90.51, 313.21°)
OKLaboklab(58.11% 0.1282 -0.1875)
OKLCHoklch(58.11% 0.227 304.4)
XYZxyz(29.5801, 16.9781, 75.1025)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A47E4 #91E447
analogous
#4B47E4 #9A47E4 #E447DF
triadic
#9A47E4 #E49A47 #47E49A
tetradic
#9A47E4 #E44B47 #91E447 #47DFE4
square
#9A47E4 #E44B47 #91E447 #47DFE4
split-complementary
#9A47E4 #DFE447 #47E44B
monochromatic
#5C179A #7C1ECF #9A47E4 #B77CEC #D5B2F4

Accessibility & contrast

On white

4.78
#9A47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9A47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A47E4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A47E4#FFFFFF#000000##FFFFFF
##9A47E41.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#8C6B90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a47e4;
/* rgb */ color: rgb(154, 71, 228);
/* oklch */ color: oklch(58.1% 0.227 304.4);
Tailwind
colors: {
  custom: {
    50: '#bd80ed',
    500: '#9a47e4',
    950: '#000000',
  },
}
SCSS
$custom: #9a47e4;
$custom-light: #bd80ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9a47e4",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 271.72,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58113,
    "c": 0.22712,
    "h": 304.4
  },
  "luminance": 0.16978
}

Semantic roles & 50–950 ramp

primary
#9A47E4
secondary
#C2E2A4
accent
#F1378F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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