#9D46D1#9D46D1

#9D46D1 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.210 H 310.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9D46D1
RGBrgb(157, 70, 209)
HSLhsl(278, 60%, 55%)
HSVhsv(278, 67%, 82%)
CMYKcmyk(24.9%, 66.5%, 0%, 18%)
CIE-LABlab(47.17, 58.80, -56.83)
CIE-LCHlch(47.17, 81.78, 315.98°)
OKLaboklab(57.03% 0.1353 -0.1605)
OKLCHoklch(57.03% 0.21 310.1)
XYZxyz(27.6012, 16.1524, 61.9730)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46D1 #7AD146
analogous
#5846D1 #9D46D1 #D146BF
triadic
#9D46D1 #D19D46 #46D19D
tetradic
#9D46D1 #D15846 #7AD146 #46BFD1
square
#9D46D1 #D15846 #7AD146 #46BFD1
split-complementary
#9D46D1 #BFD146 #46D158
monochromatic
#5A1F7D #7D2BAE #9D46D1 #B777DD #D1A8E9

Accessibility & contrast

On white

4.96
#9D46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9D46D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46D1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46D1#FFFFFF#000000##FFFFFF
##9D46D11.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#3171CE
Tritanopia (blue-blind)
#966386
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d46d1;
/* rgb */ color: rgb(157, 70, 209);
/* oklch */ color: oklch(57.0% 0.210 310.1);
Tailwind
colors: {
  custom: {
    50: '#be7fe0',
    500: '#9d46d1',
    950: '#000000',
  },
}
SCSS
$custom: #9d46d1;
$custom-light: #be7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46d1",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 277.554,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57033,
    "c": 0.20993,
    "h": 310.1
  },
  "luminance": 0.16152
}

Semantic roles & 50–950 ramp

primary
#9D46D1
secondary
#B2D79C
accent
#E34480
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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