#9C48CA#9C48CA

#9C48CA is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.7% C 0.200 H 311.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9C48CA
RGBrgb(156, 72, 202)
HSLhsl(279, 55%, 54%)
HSVhsv(279, 64%, 79%)
CMYKcmyk(22.8%, 64.4%, 0%, 20.8%)
CIE-LABlab(46.93, 56.15, -53.19)
CIE-LCHlch(46.93, 77.35, 316.55°)
OKLaboklab(56.69% 0.1322 -0.1499)
OKLCHoklch(56.69% 0.2 311.4)
XYZxyz(26.6864, 15.9676, 57.5419)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48CA #76CA48
analogous
#5B48CA #9C48CA #CA48B7
triadic
#9C48CA #CA9C48 #48CA9C
tetradic
#9C48CA #CA5B48 #76CA48 #48B7CA
square
#9C48CA #CA5B48 #76CA48 #48B7CA
split-complementary
#9C48CA #B7CA48 #48CA5B
monochromatic
#582276 #7C30A5 #9C48CA #B677D8 #CFA7E5

Accessibility & contrast

On white

5.01
#9C48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C48CA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48CA#FFFFFF#000000##FFFFFF
##9C48CA1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#966283
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9c48ca;
/* rgb */ color: rgb(156, 72, 202);
/* oklch */ color: oklch(56.7% 0.200 311.4);
Tailwind
colors: {
  custom: {
    50: '#bd80db',
    500: '#9c48ca',
    950: '#000000',
  },
}
SCSS
$custom: #9c48ca;
$custom-light: #bd80db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48ca",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 278.769,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56689,
    "c": 0.19989,
    "h": 311.4
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

primary
#9C48CA
secondary
#AFD39B
accent
#DE497E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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