#9D46BF#9D46BF

#9D46BF is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.192 H 315.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9D46BF
RGBrgb(157, 70, 191)
HSLhsl(283, 49%, 51%)
HSVhsv(283, 63%, 75%)
CMYKcmyk(17.8%, 63.4%, 0%, 25.1%)
CIE-LABlab(46.06, 54.98, -48.22)
CIE-LCHlch(46.06, 73.13, 318.75°)
OKLaboklab(55.87% 0.1362 -0.1353)
OKLCHoklch(55.87% 0.192 315.2)
XYZxyz(25.4973, 15.3109, 50.8923)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46BF #68BF46
analogous
#6046BF #9D46BF #BF46A4
triadic
#9D46BF #BF9D46 #46BF9D
tetradic
#9D46BF #BF6046 #68BF46 #46A4BF
square
#9D46BF #BF6046 #68BF46 #46A4BF
split-complementary
#9D46BF #A4BF46 #46BF60
monochromatic
#542467 #793394 #9D46BF #B573CF #CDA1DE

Accessibility & contrast

On white

5.17
#9D46BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9D46BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46BF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46BF#FFFFFF#000000##FFFFFF
##9D46BF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1868C3
Deuteranopia (green-blind)
#446FBC
Tritanopia (blue-blind)
#9B5C7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d46bf;
/* rgb */ color: rgb(157, 70, 191);
/* oklch */ color: oklch(55.9% 0.192 315.2);
Tailwind
colors: {
  custom: {
    50: '#bd7fd3',
    500: '#9d46bf',
    950: '#000000',
  },
}
SCSS
$custom: #9d46bf;
$custom-light: #bd7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46bf",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 283.14,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55871,
    "c": 0.19196,
    "h": 315.2
  },
  "luminance": 0.1531
}

Semantic roles & 50–950 ramp

primary
#9D46BF
secondary
#A5CB96
accent
#D85076
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9D46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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