#9B45DA#9B45DA

#9B45DA is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.3% C 0.220 H 307.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9B45DA
RGBrgb(155, 69, 218)
HSLhsl(275, 67%, 56%)
HSVhsv(275, 68%, 85%)
CMYKcmyk(28.9%, 68.3%, 0%, 14.5%)
CIE-LABlab(47.35, 60.81, -61.71)
CIE-LCHlch(47.35, 86.64, 314.58°)
OKLaboklab(57.29% 0.1328 -0.1749)
OKLCHoklch(57.29% 0.22 307.2)
XYZxyz(28.2979, 16.2871, 67.9690)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45DA #84DA45
analogous
#5145DA #9B45DA #DA45CF
triadic
#9B45DA #DA9B45 #45DA9B
tetradic
#9B45DA #DA5145 #84DA45 #45CFDA
square
#9B45DA #DA5145 #84DA45 #45CFDA
split-complementary
#9B45DA #CFDA45 #45DA51
monochromatic
#5B1B89 #7D25BC #9B45DA #B678E4 #D2ABEE

Accessibility & contrast

On white

4.93
#9B45DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9B45DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45DA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45DA#FFFFFF#000000##FFFFFF
##9B45DA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#1C71D7
Tritanopia (blue-blind)
#91668A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b45da;
/* rgb */ color: rgb(155, 69, 218);
/* oklch */ color: oklch(57.3% 0.220 307.2);
Tailwind
colors: {
  custom: {
    50: '#bd7fe6',
    500: '#9b45da',
    950: '#000000',
  },
}
SCSS
$custom: #9b45da;
$custom-light: #bd7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45da",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 274.631,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57292,
    "c": 0.21965,
    "h": 307.2
  },
  "luminance": 0.16287
}

Semantic roles & 50–950 ramp

primary
#9B45DA
secondary
#B9DC9F
accent
#EA3E87
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B45DA

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

Preview Lab → · Contrast checker → · Palette generator →

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