#9D46C7#9D46C7

#9D46C7 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.200 H 312.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9D46C7
RGBrgb(157, 70, 199)
HSLhsl(280, 54%, 53%)
HSVhsv(280, 65%, 78%)
CMYKcmyk(21.1%, 64.8%, 0%, 22%)
CIE-LABlab(46.54, 56.66, -52.08)
CIE-LCHlch(46.54, 76.96, 317.41°)
OKLaboklab(56.38% 0.1359 -0.1466)
OKLCHoklch(56.38% 0.2 312.8)
XYZxyz(26.4018, 15.6727, 55.6561)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46C7 #70C746
analogous
#5C46C7 #9D46C7 #C746B1
triadic
#9D46C7 #C79D46 #46C79D
tetradic
#9D46C7 #C75C46 #70C746 #46B1C7
square
#9D46C7 #C75C46 #70C746 #46B1C7
split-complementary
#9D46C7 #B1C746 #46C75C
monochromatic
#572271 #7B30A0 #9D46C7 #B675D5 #CFA4E3

Accessibility & contrast

On white

5.08
#9D46C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9D46C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46C7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46C7#FFFFFF#000000##FFFFFF
##9D46C71.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#3D70C4
Tritanopia (blue-blind)
#995F80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d46c7;
/* rgb */ color: rgb(157, 70, 199);
/* oklch */ color: oklch(56.4% 0.200 312.8);
Tailwind
colors: {
  custom: {
    50: '#be7fd9',
    500: '#9d46c7',
    950: '#000000',
  },
}
SCSS
$custom: #9d46c7;
$custom-light: #be7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46c7",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 280.465,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.19992,
    "h": 312.8
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#9D46C7
secondary
#ABD098
accent
#DD4B7A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9D46C7

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

Preview Lab → · Contrast checker → · Palette generator →

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