#9A47EA#9A47EA

#9A47EA is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.6% C 0.233 H 303.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9A47EA
RGBrgb(154, 71, 234)
HSLhsl(271, 80%, 60%)
HSVhsv(271, 70%, 92%)
CMYKcmyk(34.2%, 69.7%, 0%, 8.2%)
CIE-LABlab(48.66, 63.35, -68.67)
CIE-LCHlch(48.66, 93.42, 312.69°)
OKLaboklab(58.55% 0.1273 -0.1954)
OKLCHoklch(58.55% 0.233 303.1)
XYZxyz(30.4275, 17.3170, 79.5655)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A47EA #97EA47
analogous
#4947EA #9A47EA #EA47E9
triadic
#9A47EA #EA9A47 #47EA9A
tetradic
#9A47EA #EA4947 #97EA47 #47E9EA
square
#9A47EA #EA4947 #97EA47 #47E9EA
split-complementary
#9A47EA #E9EA47 #47EA49
monochromatic
#5D13A4 #7C19DB #9A47EA #B87EF0 #D6B5F7

Accessibility & contrast

On white

4.70
#9A47EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9A47EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A47EA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A47EA#FFFFFF#000000##FFFFFF
##9A47EA1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#8A6E94
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a47ea;
/* rgb */ color: rgb(154, 71, 234);
/* oklch */ color: oklch(58.6% 0.233 303.1);
Tailwind
colors: {
  custom: {
    50: '#be81f2',
    500: '#9a47ea',
    950: '#000000',
  },
}
SCSS
$custom: #9a47ea;
$custom-light: #be81f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a47ea",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 270.552,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.23323,
    "h": 303.1
  },
  "luminance": 0.17317
}

Semantic roles & 50–950 ramp

primary
#9A47EA
secondary
#C6E6A7
accent
#F63292
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A47EA

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

Preview Lab → · Contrast checker → · Palette generator →

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