#9B45D3#9B45D3

#9B45D3 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.8% C 0.213 H 308.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9B45D3
RGBrgb(155, 69, 211)
HSLhsl(276, 62%, 55%)
HSVhsv(276, 67%, 83%)
CMYKcmyk(26.5%, 67.3%, 0%, 17.3%)
CIE-LABlab(46.88, 59.27, -58.46)
CIE-LCHlch(46.88, 83.25, 315.39°)
OKLaboklab(56.81% 0.1336 -0.1654)
OKLCHoklch(56.81% 0.213 308.9)
XYZxyz(27.4012, 15.9284, 63.2464)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45D3 #7DD345
analogous
#5445D3 #9B45D3 #D345C4
triadic
#9B45D3 #D39B45 #45D39B
tetradic
#9B45D3 #D35445 #7DD345 #45C4D3
square
#9B45D3 #D35445 #7DD345 #45C4D3
split-complementary
#9B45D3 #C4D345 #45D354
monochromatic
#591E7F #7C2AB1 #9B45D3 #B676DF #D0A8EA

Accessibility & contrast

On white

5.02
#9B45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9B45D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45D3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45D3#FFFFFF#000000##FFFFFF
##9B45D31.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#2A70D0
Tritanopia (blue-blind)
#936387
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b45d3;
/* rgb */ color: rgb(155, 69, 211);
/* oklch */ color: oklch(56.8% 0.213 308.9);
Tailwind
colors: {
  custom: {
    50: '#bd7fe1',
    500: '#9b45d3',
    950: '#000000',
  },
}
SCSS
$custom: #9b45d3;
$custom-light: #bd7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45d3",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 276.338,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.21261,
    "h": 308.9
  },
  "luminance": 0.15928
}

Semantic roles & 50–950 ramp

primary
#9B45D3
secondary
#B4D89C
accent
#E54383
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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