#9B46BF#9B46BF

#9B46BF is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.191 H 314.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9B46BF
RGBrgb(155, 70, 191)
HSLhsl(282, 49%, 51%)
HSVhsv(282, 63%, 75%)
CMYKcmyk(18.8%, 63.4%, 0%, 25.1%)
CIE-LABlab(45.79, 54.51, -48.67)
CIE-LCHlch(45.79, 73.07, 318.24°)
OKLaboklab(55.62% 0.1337 -0.1367)
OKLCHoklch(55.62% 0.191 314.4)
XYZxyz(25.1101, 15.1113, 50.8741)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46BF #6ABF46
analogous
#5E46BF #9B46BF #BF46A6
triadic
#9B46BF #BF9B46 #46BF9B
tetradic
#9B46BF #BF5E46 #6ABF46 #46A6BF
square
#9B46BF #BF5E46 #6ABF46 #46A6BF
split-complementary
#9B46BF #A6BF46 #46BF5E
monochromatic
#532467 #783394 #9B46BF #B473CF #CCA1DE

Accessibility & contrast

On white

5.22
#9B46BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9B46BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46BF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46BF#FFFFFF#000000##FFFFFF
##9B46BF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#426FBC
Tritanopia (blue-blind)
#985C7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b46bf;
/* rgb */ color: rgb(155, 70, 191);
/* oklch */ color: oklch(55.6% 0.191 314.4);
Tailwind
colors: {
  custom: {
    50: '#bc7fd3',
    500: '#9b46bf',
    950: '#000000',
  },
}
SCSS
$custom: #9b46bf;
$custom-light: #bc7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46bf",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 282.149,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55618,
    "c": 0.19119,
    "h": 314.4
  },
  "luminance": 0.1511
}

Semantic roles & 50–950 ramp

primary
#9B46BF
secondary
#A6CB96
accent
#D85078
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9B46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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