#9B45CB#9B45CB

#9B45CB is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.205 H 311.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9B45CB
RGBrgb(155, 69, 203)
HSLhsl(279, 56%, 53%)
HSVhsv(279, 66%, 80%)
CMYKcmyk(23.6%, 66%, 0%, 20.4%)
CIE-LABlab(46.36, 57.53, -54.70)
CIE-LCHlch(46.36, 79.38, 316.45°)
OKLaboklab(56.27% 0.1343 -0.1543)
OKLCHoklch(56.27% 0.205 311)
XYZxyz(26.4232, 15.5372, 58.0954)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45CB #75CB45
analogous
#5845CB #9B45CB #CB45B8
triadic
#9B45CB #CB9B45 #45CB9B
tetradic
#9B45CB #CB5845 #75CB45 #45B8CB
square
#9B45CB #CB5845 #75CB45 #45B8CB
split-complementary
#9B45CB #B8CB45 #45CB58
monochromatic
#572175 #7A2EA5 #9B45CB #B575D8 #CEA5E6

Accessibility & contrast

On white

5.11
#9B45CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9B45CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45CB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45CB#FFFFFF#000000##FFFFFF
##9B45CB1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#356FC8
Tritanopia (blue-blind)
#956082
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b45cb;
/* rgb */ color: rgb(155, 69, 203);
/* oklch */ color: oklch(56.3% 0.205 311.0);
Tailwind
colors: {
  custom: {
    50: '#bc7fdb',
    500: '#9b45cb',
    950: '#000000',
  },
}
SCSS
$custom: #9b45cb;
$custom-light: #bc7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45cb",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 278.507,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56271,
    "c": 0.20458,
    "h": 311
  },
  "luminance": 0.15537
}

Semantic roles & 50–950 ramp

primary
#9B45CB
secondary
#AED399
accent
#E0487E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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