#9C48D4#9C48D4

#9C48D4 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.210 H 308.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9C48D4
RGBrgb(156, 72, 212)
HSLhsl(276, 62%, 56%)
HSVhsv(276, 66%, 83%)
CMYKcmyk(26.4%, 66%, 0%, 16.9%)
CIE-LABlab(47.57, 58.33, -57.92)
CIE-LCHlch(47.57, 82.20, 315.20°)
OKLaboklab(57.35% 0.1315 -0.1638)
OKLCHoklch(57.35% 0.21 308.8)
XYZxyz(27.9089, 16.4566, 63.9808)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48D4 #80D448
analogous
#5648D4 #9C48D4 #D448C6
triadic
#9C48D4 #D49C48 #48D49C
tetradic
#9C48D4 #D45648 #80D448 #48C6D4
square
#9C48D4 #D45648 #80D448 #48C6D4
split-complementary
#9C48D4 #C6D448 #48D456
monochromatic
#5B1F83 #7D2AB4 #9C48D4 #B77AE0 #D2ABEB

Accessibility & contrast

On white

4.89
#9C48D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9C48D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48D4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48D4#FFFFFF#000000##FFFFFF
##9C48D41.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#2E72D1
Tritanopia (blue-blind)
#946588
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9c48d4;
/* rgb */ color: rgb(156, 72, 212);
/* oklch */ color: oklch(57.4% 0.210 308.8);
Tailwind
colors: {
  custom: {
    50: '#bd81e2',
    500: '#9c48d4',
    950: '#000000',
  },
}
SCSS
$custom: #9c48d4;
$custom-light: #bd81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48d4",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 276,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5735,
    "c": 0.21007,
    "h": 308.8
  },
  "luminance": 0.16456
}

Semantic roles & 50–950 ramp

primary
#9C48D4
secondary
#B6D99F
accent
#E54384
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9C48D4

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

Preview Lab → · Contrast checker → · Palette generator →

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