#9B47DD#9B47DD

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

Color values

HEX#9B47DD
RGBrgb(155, 71, 221)
HSLhsl(274, 69%, 57%)
HSVhsv(274, 68%, 87%)
CMYKcmyk(29.9%, 67.9%, 0%, 13.3%)
CIE-LABlab(47.87, 60.58, -62.57)
CIE-LCHlch(47.87, 87.09, 314.08°)
OKLaboklab(57.73% 0.1304 -0.1775)
OKLCHoklch(57.73% 0.22 306.3)
XYZxyz(28.8191, 16.6958, 70.0970)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47DD #89DD47
analogous
#5047DD #9B47DD #DD47D4
triadic
#9B47DD #DD9B47 #47DD9B
tetradic
#9B47DD #DD5047 #89DD47 #47D4DD
square
#9B47DD #DD5047 #89DD47 #47D4DD
split-complementary
#9B47DD #D4DD47 #47DD50
monochromatic
#5C1A8F #7D24C3 #9B47DD #B77BE7 #D3AEF0

Accessibility & contrast

On white

4.84
#9B47DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9B47DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47DD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47DD#FFFFFF#000000##FFFFFF
##9B47DD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#1972DA
Tritanopia (blue-blind)
#90688D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b47dd;
/* rgb */ color: rgb(155, 71, 221);
/* oklch */ color: oklch(57.7% 0.220 306.3);
Tailwind
colors: {
  custom: {
    50: '#bd80e8',
    500: '#9b47dd',
    950: '#000000',
  },
}
SCSS
$custom: #9b47dd;
$custom-light: #bd80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47dd",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 273.6,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57732,
    "c": 0.22022,
    "h": 306.3
  },
  "luminance": 0.16695
}

Semantic roles & 50–950 ramp

primary
#9B47DD
secondary
#BCDEA2
accent
#EC3C89
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B47DD

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

Preview Lab → · Contrast checker → · Palette generator →

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