#9C48CB#9C48CB

#9C48CB is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.201 H 311.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9C48CB
RGBrgb(156, 72, 203)
HSLhsl(278, 56%, 54%)
HSVhsv(278, 65%, 80%)
CMYKcmyk(23.2%, 64.5%, 0%, 20.4%)
CIE-LABlab(46.99, 56.36, -53.67)
CIE-LCHlch(46.99, 77.83, 316.40°)
OKLaboklab(56.75% 0.1321 -0.1513)
OKLCHoklch(56.75% 0.201 311.1)
XYZxyz(26.8051, 16.0151, 58.1675)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48CB #77CB48
analogous
#5B48CB #9C48CB #CB48B9
triadic
#9C48CB #CB9C48 #48CB9C
tetradic
#9C48CB #CB5B48 #77CB48 #48B9CB
square
#9C48CB #CB5B48 #77CB48 #48B9CB
split-complementary
#9C48CB #B9CB48 #48CB5B
monochromatic
#582277 #7C2FA6 #9C48CB #B678D9 #D0A7E6

Accessibility & contrast

On white

5.00
#9C48CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9C48CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48CB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48CB#FFFFFF#000000##FFFFFF
##9C48CB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c48cb;
/* rgb */ color: rgb(156, 72, 203);
/* oklch */ color: oklch(56.8% 0.201 311.1);
Tailwind
colors: {
  custom: {
    50: '#bd80db',
    500: '#9c48cb',
    950: '#000000',
  },
}
SCSS
$custom: #9c48cb;
$custom-light: #bd80db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48cb",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 278.473,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56754,
    "c": 0.2009,
    "h": 311.1
  },
  "luminance": 0.16014
}

Semantic roles & 50–950 ramp

primary
#9C48CB
secondary
#B0D39B
accent
#DF497F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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