#9D46BB#9D46BB

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

Color values

HEX#9D46BB
RGBrgb(157, 70, 187)
HSLhsl(285, 46%, 50%)
HSVhsv(285, 63%, 73%)
CMYKcmyk(16%, 62.6%, 0%, 26.7%)
CIE-LABlab(45.82, 54.16, -46.26)
CIE-LCHlch(45.82, 71.23, 319.49°)
OKLaboklab(55.63% 0.1362 -0.1296)
OKLCHoklch(55.63% 0.188 316.4)
XYZxyz(25.0631, 15.1372, 48.6056)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46BB #64BB46
analogous
#6246BB #9D46BB #BB469F
triadic
#9D46BB #BB9D46 #46BB9D
tetradic
#9D46BB #BB6246 #64BB46 #469FBB
square
#9D46BB #BB6246 #64BB46 #469FBB
split-complementary
#9D46BB #9FBB46 #46BB62
monochromatic
#522462 #78358F #9D46BB #B573CB #CCA0DC

Accessibility & contrast

On white

5.21
#9D46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9D46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46BB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46BB#FFFFFF#000000##FFFFFF
##9D46BB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BF
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#9B5B7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d46bb;
/* rgb */ color: rgb(157, 70, 187);
/* oklch */ color: oklch(55.6% 0.188 316.4);
Tailwind
colors: {
  custom: {
    50: '#bd7fd0',
    500: '#9d46bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d46bb;
$custom-light: #bd7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46bb",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 284.615,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55625,
    "c": 0.18801,
    "h": 316.4
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#9D46BB
secondary
#A2C894
accent
#D65274
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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