#9C48CD#9C48CD

#9C48CD is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.203 H 310.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9C48CD
RGBrgb(156, 72, 205)
HSLhsl(278, 57%, 54%)
HSVhsv(278, 65%, 80%)
CMYKcmyk(23.9%, 64.9%, 0%, 19.6%)
CIE-LABlab(47.12, 56.80, -54.62)
CIE-LCHlch(47.12, 78.80, 316.12°)
OKLaboklab(56.89% 0.132 -0.1541)
OKLCHoklch(56.89% 0.203 310.6)
XYZxyz(27.0450, 16.1110, 59.4308)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48CD #79CD48
analogous
#5A48CD #9C48CD #CD48BC
triadic
#9C48CD #CD9C48 #48CD9C
tetradic
#9C48CD #CD5A48 #79CD48 #48BCCD
square
#9C48CD #CD5A48 #79CD48 #48BCCD
split-complementary
#9C48CD #BCCD48 #48CD5A
monochromatic
#592179 #7C2EA9 #9C48CD #B678DA #D0A8E7

Accessibility & contrast

On white

4.97
#9C48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9C48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48CD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48CD#FFFFFF#000000##FFFFFF
##9C48CD1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#966384
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9c48cd;
/* rgb */ color: rgb(156, 72, 205);
/* oklch */ color: oklch(56.9% 0.203 310.6);
Tailwind
colors: {
  custom: {
    50: '#bd80dd',
    500: '#9c48cd',
    950: '#000000',
  },
}
SCSS
$custom: #9c48cd;
$custom-light: #bd80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48cd",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 277.895,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56885,
    "c": 0.20293,
    "h": 310.6
  },
  "luminance": 0.1611
}

Semantic roles & 50–950 ramp

primary
#9C48CD
secondary
#B1D59C
accent
#E04780
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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