#9D46C8#9D46C8

#9D46C8 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.4% C 0.201 H 312.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9D46C8
RGBrgb(157, 70, 200)
HSLhsl(280, 54%, 53%)
HSVhsv(280, 65%, 78%)
CMYKcmyk(21.5%, 65%, 0%, 21.6%)
CIE-LABlab(46.60, 56.87, -52.56)
CIE-LCHlch(46.60, 77.44, 317.26°)
OKLaboklab(56.44% 0.1359 -0.148)
OKLCHoklch(56.44% 0.201 312.5)
XYZxyz(26.5183, 15.7193, 56.2696)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46C8 #71C846
analogous
#5C46C8 #9D46C8 #C846B2
triadic
#9D46C8 #C89D46 #46C89D
tetradic
#9D46C8 #C85C46 #71C846 #46B2C8
square
#9D46C8 #C85C46 #71C846 #46B2C8
split-complementary
#9D46C8 #B2C846 #46C85C
monochromatic
#572272 #7C30A1 #9D46C8 #B675D6 #CFA4E4

Accessibility & contrast

On white

5.07
#9D46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9D46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46C8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46C8#FFFFFF#000000##FFFFFF
##9D46C81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#3C70C5
Tritanopia (blue-blind)
#986081
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d46c8;
/* rgb */ color: rgb(157, 70, 200);
/* oklch */ color: oklch(56.4% 0.201 312.5);
Tailwind
colors: {
  custom: {
    50: '#be7fd9',
    500: '#9d46c8',
    950: '#000000',
  },
}
SCSS
$custom: #9d46c8;
$custom-light: #be7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46c8",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 280.154,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56441,
    "c": 0.20092,
    "h": 312.5
  },
  "luminance": 0.15719
}

Semantic roles & 50–950 ramp

primary
#9D46C8
secondary
#ABD199
accent
#DE4A7B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9D46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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