#9D45BB#9D45BB

#9D45BB is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.189 H 316.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9D45BB
RGBrgb(157, 69, 187)
HSLhsl(285, 46%, 50%)
HSVhsv(285, 63%, 73%)
CMYKcmyk(16%, 63.1%, 0%, 26.7%)
CIE-LABlab(45.65, 54.62, -46.53)
CIE-LCHlch(45.65, 71.76, 319.57°)
OKLaboklab(55.5% 0.1374 -0.1304)
OKLCHoklch(55.5% 0.189 316.5)
XYZxyz(25.0010, 15.0131, 48.5849)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D45BB #63BB45
analogous
#6245BB #9D45BB #BB459E
triadic
#9D45BB #BB9D45 #45BB9D
tetradic
#9D45BB #BB6245 #63BB45 #459EBB
square
#9D45BB #BB6245 #63BB45 #459EBB
split-complementary
#9D45BB #9EBB45 #45BB62
monochromatic
#522462 #78348F #9D45BB #B572CB #CC9FDC

Accessibility & contrast

On white

5.25
#9D45BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9D45BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D45BB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D45BB#FFFFFF#000000##FFFFFF
##9D45BB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#466FB8
Tritanopia (blue-blind)
#9B5A7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d45bb;
/* rgb */ color: rgb(157, 69, 187);
/* oklch */ color: oklch(55.5% 0.189 316.5);
Tailwind
colors: {
  custom: {
    50: '#bd7ed0',
    500: '#9d45bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d45bb;
$custom-light: #bd7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d45bb",
  "rgb": {
    "r": 157,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 284.746,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55502,
    "c": 0.18942,
    "h": 316.5
  },
  "luminance": 0.15012
}

Semantic roles & 50–950 ramp

primary
#9D45BB
secondary
#A1C894
accent
#D65273
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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