#9D46AE#9D46AE

#9D46AE is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.175 H 320.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9D46AE
RGBrgb(157, 70, 174)
HSLhsl(290, 43%, 48%)
HSVhsv(290, 60%, 68%)
CMYKcmyk(9.8%, 59.8%, 0%, 31.8%)
CIE-LABlab(45.09, 51.54, -39.80)
CIE-LCHlch(45.09, 65.12, 322.32°)
OKLaboklab(54.86% 0.1359 -0.1108)
OKLCHoklch(54.86% 0.175 320.8)
XYZxyz(23.7339, 14.6055, 41.6052)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46AE #57AE46
analogous
#6946AE #9D46AE #AE468B
triadic
#9D46AE #AE9D46 #46AE9D
tetradic
#9D46AE #AE6946 #57AE46 #468BAE
square
#9D46AE #AE6946 #57AE46 #468BAE
split-complementary
#9D46AE #8BAE46 #46AE69
monochromatic
#4E2357 #763482 #9D46AE #B66DC4 #CC99D6

Accessibility & contrast

On white

5.36
#9D46AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9D46AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46AE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46AE#FFFFFF#000000##FFFFFF
##9D46AE1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3064B1
Deuteranopia (green-blind)
#506EAB
Tritanopia (blue-blind)
#9E5673
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d46ae;
/* rgb */ color: rgb(157, 70, 174);
/* oklch */ color: oklch(54.9% 0.175 320.8);
Tailwind
colors: {
  custom: {
    50: '#bd7ec6',
    500: '#9d46ae',
    950: '#000000',
  },
}
SCSS
$custom: #9d46ae;
$custom-light: #bd7ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46ae",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 290.192,
    "s": 42.623,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.17531,
    "h": 320.8
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#9D46AE
secondary
#96C28E
accent
#D2556A
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D46AE

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

Preview Lab → · Contrast checker → · Palette generator →

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