#9A46BB#9A46BB

#9A46BB is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.187 H 315.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9A46BB
RGBrgb(154, 70, 187)
HSLhsl(283, 46%, 50%)
HSVhsv(283, 63%, 73%)
CMYKcmyk(17.6%, 62.6%, 0%, 26.7%)
CIE-LABlab(45.41, 53.43, -46.94)
CIE-LCHlch(45.41, 71.12, 318.70°)
OKLaboklab(55.24% 0.1325 -0.1317)
OKLCHoklch(55.24% 0.187 315.2)
XYZxyz(24.4848, 14.8390, 48.5785)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A46BB #67BB46
analogous
#5F46BB #9A46BB #BB46A1
triadic
#9A46BB #BB9A46 #46BB9A
tetradic
#9A46BB #BB5F46 #67BB46 #46A1BB
square
#9A46BB #BB5F46 #67BB46 #46A1BB
split-complementary
#9A46BB #A1BB46 #46BB5F
monochromatic
#512462 #76358F #9A46BB #B273CB #CBA0DC

Accessibility & contrast

On white

5.29
#9A46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9A46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A46BB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A46BB#FFFFFF#000000##FFFFFF
##9A46BB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67BF
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#985B7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a46bb;
/* rgb */ color: rgb(154, 70, 187);
/* oklch */ color: oklch(55.2% 0.187 315.2);
Tailwind
colors: {
  custom: {
    50: '#bb7fd0',
    500: '#9a46bb',
    950: '#000000',
  },
}
SCSS
$custom: #9a46bb;
$custom-light: #bb7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a46bb",
  "rgb": {
    "r": 154,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 283.077,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55243,
    "c": 0.18677,
    "h": 315.2
  },
  "luminance": 0.14838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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