#9C48D2#9C48D2

#9C48D2 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.208 H 309.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9C48D2
RGBrgb(156, 72, 210)
HSLhsl(277, 61%, 55%)
HSVhsv(277, 66%, 82%)
CMYKcmyk(25.7%, 65.7%, 0%, 17.6%)
CIE-LABlab(47.44, 57.89, -56.98)
CIE-LCHlch(47.44, 81.23, 315.45°)
OKLaboklab(57.22% 0.1317 -0.161)
OKLCHoklch(57.22% 0.208 309.3)
XYZxyz(27.6582, 16.3563, 62.6603)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48D2 #7ED248
analogous
#5748D2 #9C48D2 #D248C3
triadic
#9C48D2 #D29C48 #48D29C
tetradic
#9C48D2 #D25748 #7ED248 #48C3D2
square
#9C48D2 #D25748 #7ED248 #48C3D2
split-complementary
#9C48D2 #C3D248 #48D257
monochromatic
#5A2080 #7D2CB1 #9C48D2 #B779DE #D1AAEA

Accessibility & contrast

On white

4.92
#9C48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9C48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48D2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48D2#FFFFFF#000000##FFFFFF
##9C48D21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#3172CF
Tritanopia (blue-blind)
#946587
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9c48d2;
/* rgb */ color: rgb(156, 72, 210);
/* oklch */ color: oklch(57.2% 0.208 309.3);
Tailwind
colors: {
  custom: {
    50: '#bd81e0',
    500: '#9c48d2',
    950: '#000000',
  },
}
SCSS
$custom: #9c48d2;
$custom-light: #bd81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48d2",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 276.522,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57216,
    "c": 0.20802,
    "h": 309.3
  },
  "luminance": 0.16356
}

Semantic roles & 50–950 ramp

primary
#9C48D2
secondary
#B5D89E
accent
#E44483
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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