#9B47CF#9B47CF

#9B47CF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.206 H 309.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9B47CF
RGBrgb(155, 71, 207)
HSLhsl(277, 59%, 55%)
HSVhsv(277, 66%, 81%)
CMYKcmyk(25.1%, 65.7%, 0%, 18.8%)
CIE-LABlab(46.95, 57.48, -56.05)
CIE-LCHlch(46.95, 80.28, 315.72°)
OKLaboklab(56.78% 0.1317 -0.1583)
OKLCHoklch(56.78% 0.206 309.8)
XYZxyz(27.0311, 15.9806, 60.6800)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47CF #7BCF47
analogous
#5747CF #9B47CF #CF47BF
triadic
#9B47CF #CF9B47 #47CF9B
tetradic
#9B47CF #CF5747 #7BCF47 #47BFCF
square
#9B47CF #CF5747 #7BCF47 #47BFCF
split-complementary
#9B47CF #BFCF47 #47CF57
monochromatic
#59207B #7B2DAC #9B47CF #B578DC #D0A8E8

Accessibility & contrast

On white

5.00
#9B47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9B47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47CF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47CF#FFFFFF#000000##FFFFFF
##9B47CF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3271CC
Tritanopia (blue-blind)
#946385
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b47cf;
/* rgb */ color: rgb(155, 71, 207);
/* oklch */ color: oklch(56.8% 0.206 309.8);
Tailwind
colors: {
  custom: {
    50: '#bc80de',
    500: '#9b47cf',
    950: '#000000',
  },
}
SCSS
$custom: #9b47cf;
$custom-light: #bc80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47cf",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 277.059,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.20599,
    "h": 309.8
  },
  "luminance": 0.1598
}

Semantic roles & 50–950 ramp

primary
#9B47CF
secondary
#B2D69C
accent
#E24682
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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