#9C45CA#9C45CA

#9C45CA is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.204 H 311.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9C45CA
RGBrgb(156, 69, 202)
HSLhsl(279, 56%, 53%)
HSVhsv(279, 66%, 79%)
CMYKcmyk(22.8%, 65.8%, 0%, 20.8%)
CIE-LABlab(46.43, 57.53, -54.00)
CIE-LCHlch(46.43, 78.90, 316.81°)
OKLaboklab(56.33% 0.1356 -0.1523)
OKLCHoklch(56.33% 0.204 311.7)
XYZxyz(26.4971, 15.5891, 57.4788)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C45CA #73CA45
analogous
#5945CA #9C45CA #CA45B6
triadic
#9C45CA #CA9C45 #45CA9C
tetradic
#9C45CA #CA5945 #73CA45 #45B6CA
square
#9C45CA #CA5945 #73CA45 #45B6CA
split-complementary
#9C45CA #B6CA45 #45CA59
monochromatic
#572174 #7B2FA3 #9C45CA #B575D8 #CFA4E5

Accessibility & contrast

On white

5.10
#9C45CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9C45CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C45CA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C45CA#FFFFFF#000000##FFFFFF
##9C45CA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#3770C7
Tritanopia (blue-blind)
#976082
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9c45ca;
/* rgb */ color: rgb(156, 69, 202);
/* oklch */ color: oklch(56.3% 0.204 311.7);
Tailwind
colors: {
  custom: {
    50: '#bd7fdb',
    500: '#9c45ca',
    950: '#000000',
  },
}
SCSS
$custom: #9c45ca;
$custom-light: #bd7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c45ca",
  "rgb": {
    "r": 156,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 279.248,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56328,
    "c": 0.20391,
    "h": 311.7
  },
  "luminance": 0.15588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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