#9C48DD#9C48DD

#9C48DD is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.219 H 306.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9C48DD
RGBrgb(156, 72, 221)
HSLhsl(274, 69%, 57%)
HSVhsv(274, 67%, 87%)
CMYKcmyk(29.4%, 67.4%, 0%, 13.3%)
CIE-LABlab(48.16, 60.33, -62.09)
CIE-LCHlch(48.16, 86.58, 314.18°)
OKLaboklab(57.97% 0.1306 -0.1761)
OKLCHoklch(57.97% 0.219 306.6)
XYZxyz(29.0760, 16.9234, 70.1274)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48DD #89DD48
analogous
#5248DD #9C48DD #DD48D3
triadic
#9C48DD #DD9C48 #48DD9C
tetradic
#9C48DD #DD5248 #89DD48 #48D3DD
square
#9C48DD #DD5248 #89DD48 #48D3DD
split-complementary
#9C48DD #D3DD48 #48DD52
monochromatic
#5D1B90 #7E24C3 #9C48DD #B87CE7 #D4AFF0

Accessibility & contrast

On white

4.79
#9C48DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9C48DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48DD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48DD#FFFFFF#000000##FFFFFF
##9C48DD1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#1E73DA
Tritanopia (blue-blind)
#91698D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c48dd;
/* rgb */ color: rgb(156, 72, 221);
/* oklch */ color: oklch(58.0% 0.219 306.6);
Tailwind
colors: {
  custom: {
    50: '#be81e8',
    500: '#9c48dd',
    950: '#000000',
  },
}
SCSS
$custom: #9c48dd;
$custom-light: #be81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48dd",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 273.826,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57966,
    "c": 0.21923,
    "h": 306.6
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#9C48DD
secondary
#BDDEA2
accent
#EC3C89
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C48DD

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

Preview Lab → · Contrast checker → · Palette generator →

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