#9B46BB#9B46BB

#9B46BB is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.187 H 315.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9B46BB
RGBrgb(155, 70, 187)
HSLhsl(284, 46%, 50%)
HSVhsv(284, 63%, 73%)
CMYKcmyk(17.1%, 62.6%, 0%, 26.7%)
CIE-LABlab(45.55, 53.67, -46.72)
CIE-LCHlch(45.55, 71.16, 318.97°)
OKLaboklab(55.37% 0.1337 -0.131)
OKLCHoklch(55.37% 0.187 315.6)
XYZxyz(24.6760, 14.9376, 48.5875)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46BB #66BB46
analogous
#6146BB #9B46BB #BB46A0
triadic
#9B46BB #BB9B46 #46BB9B
tetradic
#9B46BB #BB6146 #66BB46 #46A0BB
square
#9B46BB #BB6146 #66BB46 #46A0BB
split-complementary
#9B46BB #A0BB46 #46BB61
monochromatic
#512462 #76358F #9B46BB #B373CB #CBA0DC

Accessibility & contrast

On white

5.27
#9B46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9B46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46BB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46BB#FFFFFF#000000##FFFFFF
##9B46BB1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#995B7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b46bb;
/* rgb */ color: rgb(155, 70, 187);
/* oklch */ color: oklch(55.4% 0.187 315.6);
Tailwind
colors: {
  custom: {
    50: '#bc7fd0',
    500: '#9b46bb',
    950: '#000000',
  },
}
SCSS
$custom: #9b46bb;
$custom-light: #bc7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46bb",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 283.59,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5537,
    "c": 0.18718,
    "h": 315.6
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#9B46BB
secondary
#A3C894
accent
#D65276
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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