#9A47CF#9A47CF

#9A47CF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.206 H 309.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9A47CF
RGBrgb(154, 71, 207)
HSLhsl(277, 59%, 55%)
HSVhsv(277, 66%, 81%)
CMYKcmyk(25.6%, 65.7%, 0%, 18.8%)
CIE-LABlab(46.82, 57.26, -56.27)
CIE-LCHlch(46.82, 80.28, 315.50°)
OKLaboklab(56.65% 0.1305 -0.159)
OKLCHoklch(56.65% 0.206 309.4)
XYZxyz(26.8399, 15.8820, 60.6710)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A47CF #7CCF47
analogous
#5647CF #9A47CF #CF47C0
triadic
#9A47CF #CF9A47 #47CF9A
tetradic
#9A47CF #CF5647 #7CCF47 #47C0CF
square
#9A47CF #CF5647 #7CCF47 #47C0CF
split-complementary
#9A47CF #C0CF47 #47CF56
monochromatic
#58207B #7A2DAC #9A47CF #B578DC #CFA8E8

Accessibility & contrast

On white

5.03
#9A47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9A47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A47CF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A47CF#FFFFFF#000000##FFFFFF
##9A47CF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#926385
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a47cf;
/* rgb */ color: rgb(154, 71, 207);
/* oklch */ color: oklch(56.7% 0.206 309.4);
Tailwind
colors: {
  custom: {
    50: '#bc80de',
    500: '#9a47cf',
    950: '#000000',
  },
}
SCSS
$custom: #9a47cf;
$custom-light: #bc80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9a47cf",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 276.618,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56654,
    "c": 0.20567,
    "h": 309.4
  },
  "luminance": 0.15881
}

Semantic roles & 50–950 ramp

primary
#9A47CF
secondary
#B3D69C
accent
#E24683
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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