#9B45CA#9B45CA

#9B45CA is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.204 H 311.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9B45CA
RGBrgb(155, 69, 202)
HSLhsl(279, 56%, 53%)
HSVhsv(279, 66%, 79%)
CMYKcmyk(23.3%, 65.8%, 0%, 20.8%)
CIE-LABlab(46.30, 57.31, -54.22)
CIE-LCHlch(46.30, 78.90, 316.59°)
OKLaboklab(56.21% 0.1343 -0.153)
OKLCHoklch(56.21% 0.204 311.3)
XYZxyz(26.3044, 15.4897, 57.4698)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45CA #74CA45
analogous
#5845CA #9B45CA #CA45B6
triadic
#9B45CA #CA9B45 #45CA9B
tetradic
#9B45CA #CA5845 #74CA45 #45B6CA
square
#9B45CA #CA5845 #74CA45 #45B6CA
split-complementary
#9B45CA #B6CA45 #45CA58
monochromatic
#562174 #7A2FA3 #9B45CA #B575D8 #CEA4E5

Accessibility & contrast

On white

5.12
#9B45CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9B45CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45CA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45CA#FFFFFF#000000##FFFFFF
##9B45CA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#366FC7
Tritanopia (blue-blind)
#956082
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b45ca;
/* rgb */ color: rgb(155, 69, 202);
/* oklch */ color: oklch(56.2% 0.204 311.3);
Tailwind
colors: {
  custom: {
    50: '#bc7edb',
    500: '#9b45ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b45ca;
$custom-light: #bc7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45ca",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 278.797,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.20358,
    "h": 311.3
  },
  "luminance": 0.15489
}

Semantic roles & 50–950 ramp

primary
#9B45CA
secondary
#ADD299
accent
#DF497E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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