#9B46BE#9B46BE

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

Color values

HEX#9B46BE
RGBrgb(155, 70, 190)
HSLhsl(283, 48%, 51%)
HSVhsv(283, 63%, 75%)
CMYKcmyk(18.4%, 63.2%, 0%, 25.5%)
CIE-LABlab(45.73, 54.30, -48.18)
CIE-LCHlch(45.73, 72.59, 318.42°)
OKLaboklab(55.56% 0.1337 -0.1353)
OKLCHoklch(55.56% 0.19 314.7)
XYZxyz(25.0005, 15.0674, 50.2966)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46BE #69BE46
analogous
#5F46BE #9B46BE #BE46A5
triadic
#9B46BE #BE9B46 #46BE9B
tetradic
#9B46BE #BE5F46 #69BE46 #46A5BE
square
#9B46BE #BE5F46 #69BE46 #46A5BE
split-complementary
#9B46BE #A5BE46 #46BE5F
monochromatic
#532466 #773493 #9B46BE #B373CE #CCA1DE

Accessibility & contrast

On white

5.23
#9B46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9B46BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46BE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46BE#FFFFFF#000000##FFFFFF
##9B46BE1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C2
Deuteranopia (green-blind)
#436EBB
Tritanopia (blue-blind)
#985C7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b46be;
/* rgb */ color: rgb(155, 70, 190);
/* oklch */ color: oklch(55.6% 0.190 314.7);
Tailwind
colors: {
  custom: {
    50: '#bc7fd2',
    500: '#9b46be',
    950: '#000000',
  },
}
SCSS
$custom: #9b46be;
$custom-light: #bc7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46be",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 282.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55556,
    "c": 0.19017,
    "h": 314.7
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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