#9A47F0#9A47F0

#9A47F0 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.0% C 0.239 H 301.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9A47F0
RGBrgb(154, 71, 240)
HSLhsl(269, 85%, 61%)
HSVhsv(269, 70%, 94%)
CMYKcmyk(35.8%, 70.4%, 0%, 5.9%)
CIE-LABlab(49.09, 64.73, -71.34)
CIE-LCHlch(49.09, 96.33, 312.22°)
OKLaboklab(58.99% 0.1263 -0.2033)
OKLCHoklch(58.99% 0.239 301.8)
XYZxyz(31.3041, 17.6676, 84.1822)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A47F0 #9DF047
analogous
#4748F0 #9A47F0 #EE47F0
triadic
#9A47F0 #F09A47 #47F09A
tetradic
#9A47F0 #F04748 #9DF047 #47F0EE
square
#9A47F0 #F04748 #9DF047 #47F0EE
split-complementary
#9A47F0 #F0EE47 #48F047
monochromatic
#5D0EAE #7B13E7 #9A47F0 #B980F5 #D8B8F9

Accessibility & contrast

On white

4.63
#9A47F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9A47F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A47F0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A47F0#FFFFFF#000000##FFFFFF
##9A47F01.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#887097
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a47f0;
/* rgb */ color: rgb(154, 71, 240);
/* oklch */ color: oklch(59.0% 0.239 301.8);
Tailwind
colors: {
  custom: {
    50: '#be81f6',
    500: '#9a47f0',
    950: '#000000',
  },
}
SCSS
$custom: #9a47f0;
$custom-light: #be81f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a47f0",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 240
  },
  "hsl": {
    "h": 269.467,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.23933,
    "h": 301.8
  },
  "luminance": 0.17668
}

Semantic roles & 50–950 ramp

primary
#9A47F0
secondary
#CAE9AA
accent
#E10475
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A47F0

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

Preview Lab → · Contrast checker → · Palette generator →

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