#9B47CD#9B47CD

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

Color values

HEX#9B47CD
RGBrgb(155, 71, 205)
HSLhsl(278, 57%, 54%)
HSVhsv(278, 65%, 80%)
CMYKcmyk(24.4%, 65.4%, 0%, 19.6%)
CIE-LABlab(46.82, 57.04, -55.11)
CIE-LCHlch(46.82, 79.31, 315.99°)
OKLaboklab(56.64% 0.1319 -0.1556)
OKLCHoklch(56.64% 0.204 310.3)
XYZxyz(26.7881, 15.8834, 59.4004)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47CD #79CD47
analogous
#5847CD #9B47CD #CD47BC
triadic
#9B47CD #CD9B47 #47CD9B
tetradic
#9B47CD #CD5847 #79CD47 #47BCCD
square
#9B47CD #CD5847 #79CD47 #47BCCD
split-complementary
#9B47CD #BCCD47 #47CD58
monochromatic
#582179 #7B2EA9 #9B47CD #B577DA #CFA7E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B47CD#FFFFFF#000000##FFFFFF
##9B47CD1.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)
#006BD1
Deuteranopia (green-blind)
#3570CA
Tritanopia (blue-blind)
#946284
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b47cd;
/* rgb */ color: rgb(155, 71, 205);
/* oklch */ color: oklch(56.6% 0.204 310.3);
Tailwind
colors: {
  custom: {
    50: '#bc80dd',
    500: '#9b47cd',
    950: '#000000',
  },
}
SCSS
$custom: #9b47cd;
$custom-light: #bc80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47cd",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 277.612,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56642,
    "c": 0.20395,
    "h": 310.3
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

primary
#9B47CD
secondary
#B1D49B
accent
#E14780
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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