#9D46AF#9D46AF

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

Color values

HEX#9D46AF
RGBrgb(157, 70, 175)
HSLhsl(290, 43%, 48%)
HSVhsv(290, 60%, 69%)
CMYKcmyk(10.3%, 60%, 0%, 31.4%)
CIE-LABlab(45.14, 51.74, -40.31)
CIE-LCHlch(45.14, 65.59, 322.08°)
OKLaboklab(54.91% 0.1359 -0.1122)
OKLCHoklch(54.91% 0.176 320.5)
XYZxyz(23.8317, 14.6447, 42.1205)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46AF #58AF46
analogous
#6846AF #9D46AF #AF468C
triadic
#9D46AF #AF9D46 #46AF9D
tetradic
#9D46AF #AF6846 #58AF46 #468CAF
square
#9D46AF #AF6846 #58AF46 #468CAF
split-complementary
#9D46AF #8CAF46 #46AF68
monochromatic
#4F2358 #763583 #9D46AF #B66DC5 #CC99D6

Accessibility & contrast

On white

5.35
#9D46AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9D46AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46AF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46AF#FFFFFF#000000##FFFFFF
##9D46AF1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F65B2
Deuteranopia (green-blind)
#4F6EAC
Tritanopia (blue-blind)
#9E5674
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d46af;
/* rgb */ color: rgb(157, 70, 175);
/* oklch */ color: oklch(54.9% 0.176 320.5);
Tailwind
colors: {
  custom: {
    50: '#bd7ec7',
    500: '#9d46af',
    950: '#000000',
  },
}
SCSS
$custom: #9d46af;
$custom-light: #bd7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46af",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 289.714,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54913,
    "c": 0.17627,
    "h": 320.5
  },
  "luminance": 0.14644
}

Semantic roles & 50–950 ramp

primary
#9D46AF
secondary
#97C28E
accent
#D3556B
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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