#9C48D9#9C48D9

#9C48D9 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.7% C 0.215 H 307.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9C48D9
RGBrgb(156, 72, 217)
HSLhsl(275, 66%, 57%)
HSVhsv(275, 67%, 85%)
CMYKcmyk(28.1%, 66.8%, 0%, 14.9%)
CIE-LABlab(47.90, 59.44, -60.25)
CIE-LCHlch(47.90, 84.63, 314.61°)
OKLaboklab(57.69% 0.1311 -0.1706)
OKLCHoklch(57.69% 0.215 307.5)
XYZxyz(28.5494, 16.7128, 67.3541)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48D9 #85D948
analogous
#5448D9 #9C48D9 #D948CD
triadic
#9C48D9 #D99C48 #48D99C
tetradic
#9C48D9 #D95448 #85D948 #48CDD9
square
#9C48D9 #D95448 #85D948 #48CDD9
split-complementary
#9C48D9 #CDD948 #48D954
monochromatic
#5C1D8A #7E27BD #9C48D9 #B77BE4 #D3ADEE

Accessibility & contrast

On white

4.84
#9C48D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9C48D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48D9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48D9#FFFFFF#000000##FFFFFF
##9C48D91.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#2672D6
Tritanopia (blue-blind)
#92678B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c48d9;
/* rgb */ color: rgb(156, 72, 217);
/* oklch */ color: oklch(57.7% 0.215 307.5);
Tailwind
colors: {
  custom: {
    50: '#be81e6',
    500: '#9c48d9',
    950: '#000000',
  },
}
SCSS
$custom: #9c48d9;
$custom-light: #be81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48d9",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 274.759,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.21515,
    "h": 307.5
  },
  "luminance": 0.16712
}

Semantic roles & 50–950 ramp

primary
#9C48D9
secondary
#BADCA1
accent
#E93F86
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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