#9D46BC#9D46BC

#9D46BC is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.7% C 0.189 H 316.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9D46BC
RGBrgb(157, 70, 188)
HSLhsl(284, 47%, 51%)
HSVhsv(284, 63%, 74%)
CMYKcmyk(16.5%, 62.8%, 0%, 26.3%)
CIE-LABlab(45.88, 54.36, -46.75)
CIE-LCHlch(45.88, 71.70, 319.30°)
OKLaboklab(55.69% 0.1362 -0.131)
OKLCHoklch(55.69% 0.189 316.1)
XYZxyz(25.1705, 15.1802, 49.1714)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D46BC #65BC46
analogous
#6246BC #9D46BC #BC46A0
triadic
#9D46BC #BC9D46 #46BC9D
tetradic
#9D46BC #BC6246 #65BC46 #46A0BC
square
#9D46BC #BC6246 #65BC46 #46A0BC
split-complementary
#9D46BC #A0BC46 #46BC62
monochromatic
#532464 #783490 #9D46BC #B573CC #CDA0DD

Accessibility & contrast

On white

5.20
#9D46BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9D46BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D46BC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D46BC#FFFFFF#000000##FFFFFF
##9D46BC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67C0
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#9B5B7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d46bc;
/* rgb */ color: rgb(157, 70, 188);
/* oklch */ color: oklch(55.7% 0.189 316.1);
Tailwind
colors: {
  custom: {
    50: '#bd7fd1',
    500: '#9d46bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d46bc;
$custom-light: #bd7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d46bc",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 284.237,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.18899,
    "h": 316.1
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#9D46BC
secondary
#A2C995
accent
#D65174
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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