#9C48DC#9C48DC

#9C48DC is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.218 H 306.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9C48DC
RGBrgb(156, 72, 220)
HSLhsl(274, 68%, 57%)
HSVhsv(274, 67%, 86%)
CMYKcmyk(29.1%, 67.3%, 0%, 13.7%)
CIE-LABlab(48.10, 60.11, -61.63)
CIE-LCHlch(48.10, 86.09, 314.28°)
OKLaboklab(57.9% 0.1308 -0.1747)
OKLCHoklch(57.9% 0.218 306.8)
XYZxyz(28.9432, 16.8703, 69.4278)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48DC #88DC48
analogous
#5248DC #9C48DC #DC48D2
triadic
#9C48DC #DC9C48 #48DC9C
tetradic
#9C48DC #DC5248 #88DC48 #48D2DC
square
#9C48DC #DC5248 #88DC48 #48D2DC
split-complementary
#9C48DC #D2DC48 #48DC52
monochromatic
#5D1B8E #7E25C2 #9C48DC #B87BE6 #D4AFF0

Accessibility & contrast

On white

4.80
#9C48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9C48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48DC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48DC#FFFFFF#000000##FFFFFF
##9C48DC1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#2073D9
Tritanopia (blue-blind)
#91698C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c48dc;
/* rgb */ color: rgb(156, 72, 220);
/* oklch */ color: oklch(57.9% 0.218 306.8);
Tailwind
colors: {
  custom: {
    50: '#be81e8',
    500: '#9c48dc',
    950: '#000000',
  },
}
SCSS
$custom: #9c48dc;
$custom-light: #be81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48dc",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 274.054,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.21822,
    "h": 306.8
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#9C48DC
secondary
#BCDEA2
accent
#EB3D88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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