#9C48CC#9C48CC

#9C48CC is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.202 H 310.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9C48CC
RGBrgb(156, 72, 204)
HSLhsl(278, 56%, 54%)
HSVhsv(278, 65%, 80%)
CMYKcmyk(23.5%, 64.7%, 0%, 20%)
CIE-LABlab(47.06, 56.58, -54.15)
CIE-LCHlch(47.06, 78.32, 316.26°)
OKLaboklab(56.82% 0.1321 -0.1527)
OKLCHoklch(56.82% 0.202 310.9)
XYZxyz(26.9247, 16.0629, 58.7971)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48CC #78CC48
analogous
#5A48CC #9C48CC #CC48BA
triadic
#9C48CC #CC9C48 #48CC9C
tetradic
#9C48CC #CC5A48 #78CC48 #48BACC
square
#9C48CC #CC5A48 #78CC48 #48BACC
split-complementary
#9C48CC #BACC48 #48CC5A
monochromatic
#592178 #7C2FA8 #9C48CC #B678D9 #D0A8E7

Accessibility & contrast

On white

4.99
#9C48CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9C48CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48CC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48CC#FFFFFF#000000##FFFFFF
##9C48CC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#3971C9
Tritanopia (blue-blind)
#966284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9c48cc;
/* rgb */ color: rgb(156, 72, 204);
/* oklch */ color: oklch(56.8% 0.202 310.9);
Tailwind
colors: {
  custom: {
    50: '#bd80dc',
    500: '#9c48cc',
    950: '#000000',
  },
}
SCSS
$custom: #9c48cc;
$custom-light: #bd80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48cc",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 278.182,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56819,
    "c": 0.20192,
    "h": 310.9
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#9C48CC
secondary
#B0D49C
accent
#E0487F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C48CC

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

Preview Lab → · Contrast checker → · Palette generator →

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