#9D45B2#9D45B2

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

Color values

HEX#9D45B2
RGBrgb(157, 69, 178)
HSLhsl(288, 44%, 48%)
HSVhsv(288, 61%, 70%)
CMYKcmyk(11.8%, 61.2%, 0%, 30.2%)
CIE-LABlab(45.14, 52.80, -42.08)
CIE-LCHlch(45.14, 67.52, 321.45°)
OKLaboklab(54.96% 0.1373 -0.1174)
OKLCHoklch(54.96% 0.181 319.5)
XYZxyz(24.0676, 14.6398, 43.6688)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D45B2 #5AB245
analogous
#6645B2 #9D45B2 #B24590
triadic
#9D45B2 #B29D45 #45B29D
tetradic
#9D45B2 #B26645 #5AB245 #4590B2
square
#9D45B2 #B26645 #5AB245 #4590B2
split-complementary
#9D45B2 #90B245 #45B266
monochromatic
#4F235A #763486 #9D45B2 #B56EC7 #CC9AD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D45B2#FFFFFF#000000##FFFFFF
##9D45B21.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)
#2A65B5
Deuteranopia (green-blind)
#4D6EAF
Tritanopia (blue-blind)
#9D5775
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d45b2;
/* rgb */ color: rgb(157, 69, 178);
/* oklch */ color: oklch(55.0% 0.181 319.5);
Tailwind
colors: {
  custom: {
    50: '#bd7ec9',
    500: '#9d45b2',
    950: '#000000',
  },
}
SCSS
$custom: #9d45b2;
$custom-light: #bd7ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d45b2",
  "rgb": {
    "r": 157,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 288.44,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54962,
    "c": 0.18064,
    "h": 319.5
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#9D45B2
secondary
#99C48F
accent
#D4546D
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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