#9B45D6#9B45D6

#9B45D6 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.216 H 308.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9B45D6
RGBrgb(155, 69, 214)
HSLhsl(276, 64%, 55%)
HSVhsv(276, 68%, 84%)
CMYKcmyk(27.6%, 67.8%, 0%, 16.1%)
CIE-LABlab(47.08, 59.93, -59.86)
CIE-LCHlch(47.08, 84.70, 315.03°)
OKLaboklab(57.01% 0.1333 -0.1695)
OKLCHoklch(57.01% 0.216 308.2)
XYZxyz(27.7808, 16.0803, 65.2456)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45D6 #80D645
analogous
#5245D6 #9B45D6 #D645C9
triadic
#9B45D6 #D69B45 #45D69B
tetradic
#9B45D6 #D65245 #80D645 #45C9D6
square
#9B45D6 #D65245 #80D645 #45C9D6
split-complementary
#9B45D6 #C9D645 #45D652
monochromatic
#5A1D84 #7C28B6 #9B45D6 #B677E1 #D1A9EC

Accessibility & contrast

On white

4.98
#9B45D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9B45D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45D6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45D6#FFFFFF#000000##FFFFFF
##9B45D61.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#2571D3
Tritanopia (blue-blind)
#926588
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b45d6;
/* rgb */ color: rgb(155, 69, 214);
/* oklch */ color: oklch(57.0% 0.216 308.2);
Tailwind
colors: {
  custom: {
    50: '#bd7fe3',
    500: '#9b45d6',
    950: '#000000',
  },
}
SCSS
$custom: #9b45d6;
$custom-light: #bd7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45d6",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 275.586,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57014,
    "c": 0.21563,
    "h": 308.2
  },
  "luminance": 0.1608
}

Semantic roles & 50–950 ramp

primary
#9B45D6
secondary
#B6DA9D
accent
#E74184
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B45D6

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

Preview Lab → · Contrast checker → · Palette generator →

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