#9B46BC#9B46BC

#9B46BC is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.4% C 0.188 H 315.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9B46BC
RGBrgb(155, 70, 188)
HSLhsl(283, 47%, 51%)
HSVhsv(283, 63%, 74%)
CMYKcmyk(17.6%, 62.8%, 0%, 26.3%)
CIE-LABlab(45.61, 53.88, -47.20)
CIE-LCHlch(45.61, 71.63, 318.78°)
OKLaboklab(55.43% 0.1337 -0.1324)
OKLCHoklch(55.43% 0.188 315.3)
XYZxyz(24.7834, 14.9806, 49.1532)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46BC #67BC46
analogous
#6046BC #9B46BC #BC46A2
triadic
#9B46BC #BC9B46 #46BC9B
tetradic
#9B46BC #BC6046 #67BC46 #46A2BC
square
#9B46BC #BC6046 #67BC46 #46A2BC
split-complementary
#9B46BC #A2BC46 #46BC60
monochromatic
#522464 #773490 #9B46BC #B373CC #CCA0DD

Accessibility & contrast

On white

5.26
#9B46BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9B46BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46BC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46BC#FFFFFF#000000##FFFFFF
##9B46BC1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67C0
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#995B7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b46bc;
/* rgb */ color: rgb(155, 70, 188);
/* oklch */ color: oklch(55.4% 0.188 315.3);
Tailwind
colors: {
  custom: {
    50: '#bc7fd1',
    500: '#9b46bc',
    950: '#000000',
  },
}
SCSS
$custom: #9b46bc;
$custom-light: #bc7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46bc",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 283.22,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55431,
    "c": 0.18818,
    "h": 315.3
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#9B46BC
secondary
#A3C995
accent
#D65177
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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