#9A45BB#9A45BB

#9A45BB is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.188 H 315.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9A45BB
RGBrgb(154, 69, 187)
HSLhsl(283, 46%, 50%)
HSVhsv(283, 63%, 73%)
CMYKcmyk(17.6%, 63.1%, 0%, 26.7%)
CIE-LABlab(45.24, 53.90, -47.21)
CIE-LCHlch(45.24, 71.66, 318.79°)
OKLaboklab(55.12% 0.1337 -0.1325)
OKLCHoklch(55.12% 0.188 315.3)
XYZxyz(24.4228, 14.7150, 48.5578)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A45BB #66BB45
analogous
#5F45BB #9A45BB #BB45A1
triadic
#9A45BB #BB9A45 #45BB9A
tetradic
#9A45BB #BB5F45 #66BB45 #45A1BB
square
#9A45BB #BB5F45 #66BB45 #45A1BB
split-complementary
#9A45BB #A1BB45 #45BB5F
monochromatic
#502462 #75348F #9A45BB #B272CB #CB9FDC

Accessibility & contrast

On white

5.33
#9A45BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9A45BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A45BB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A45BB#FFFFFF#000000##FFFFFF
##9A45BB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BF
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#985A7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a45bb;
/* rgb */ color: rgb(154, 69, 187);
/* oklch */ color: oklch(55.1% 0.188 315.3);
Tailwind
colors: {
  custom: {
    50: '#bb7ed0',
    500: '#9a45bb',
    950: '#000000',
  },
}
SCSS
$custom: #9a45bb;
$custom-light: #bb7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a45bb",
  "rgb": {
    "r": 154,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 283.22,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55119,
    "c": 0.18819,
    "h": 315.3
  },
  "luminance": 0.14714
}

Semantic roles & 50–950 ramp

primary
#9A45BB
secondary
#A2C894
accent
#D65277
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9A45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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