#9C45BC#9C45BC

#9C45BC is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.4% C 0.190 H 315.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9C45BC
RGBrgb(156, 69, 188)
HSLhsl(284, 47%, 50%)
HSVhsv(284, 63%, 74%)
CMYKcmyk(17%, 63.3%, 0%, 26.3%)
CIE-LABlab(45.57, 54.59, -47.25)
CIE-LCHlch(45.57, 72.20, 319.12°)
OKLaboklab(55.44% 0.1362 -0.1325)
OKLCHoklch(55.44% 0.19 315.8)
XYZxyz(24.9141, 14.9559, 49.1416)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C45BC #65BC45
analogous
#6145BC #9C45BC #BC45A0
triadic
#9C45BC #BC9C45 #45BC9C
tetradic
#9C45BC #BC6145 #65BC45 #45A0BC
square
#9C45BC #BC6145 #65BC45 #45A0BC
split-complementary
#9C45BC #A0BC45 #45BC61
monochromatic
#522463 #773490 #9C45BC #B472CC #CC9FDC

Accessibility & contrast

On white

5.26
#9C45BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9C45BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C45BC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C45BC#FFFFFF#000000##FFFFFF
##9C45BC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C0
Deuteranopia (green-blind)
#456EB9
Tritanopia (blue-blind)
#9A5B7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c45bc;
/* rgb */ color: rgb(156, 69, 188);
/* oklch */ color: oklch(55.4% 0.190 315.8);
Tailwind
colors: {
  custom: {
    50: '#bc7ed1',
    500: '#9c45bc',
    950: '#000000',
  },
}
SCSS
$custom: #9c45bc;
$custom-light: #bc7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c45bc",
  "rgb": {
    "r": 156,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 283.866,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55435,
    "c": 0.19,
    "h": 315.8
  },
  "luminance": 0.14955
}

Semantic roles & 50–950 ramp

primary
#9C45BC
secondary
#A2C994
accent
#D75175
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9C45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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