#9C48D8#9C48D8

#9C48D8 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.214 H 307.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9C48D8
RGBrgb(156, 72, 216)
HSLhsl(275, 65%, 56%)
HSVhsv(275, 67%, 85%)
CMYKcmyk(27.8%, 66.7%, 0%, 15.3%)
CIE-LABlab(47.83, 59.22, -59.78)
CIE-LCHlch(47.83, 84.15, 314.73°)
OKLaboklab(57.62% 0.1312 -0.1693)
OKLCHoklch(57.62% 0.214 307.8)
XYZxyz(28.4198, 16.6609, 66.6711)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48D8 #84D848
analogous
#5448D8 #9C48D8 #D848CC
triadic
#9C48D8 #D89C48 #48D89C
tetradic
#9C48D8 #D85448 #84D848 #48CCD8
square
#9C48D8 #D85448 #84D848 #48CCD8
split-complementary
#9C48D8 #CCD848 #48D854
monochromatic
#5C1D89 #7E28BB #9C48D8 #B77AE3 #D3ADEE

Accessibility & contrast

On white

4.85
#9C48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9C48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48D8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48D8#FFFFFF#000000##FFFFFF
##9C48D81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#2872D5
Tritanopia (blue-blind)
#93678A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9c48d8;
/* rgb */ color: rgb(156, 72, 216);
/* oklch */ color: oklch(57.6% 0.214 307.8);
Tailwind
colors: {
  custom: {
    50: '#be81e5',
    500: '#9c48d8',
    950: '#000000',
  },
}
SCSS
$custom: #9c48d8;
$custom-light: #be81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48d8",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 275,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57621,
    "c": 0.21414,
    "h": 307.8
  },
  "luminance": 0.16661
}

Semantic roles & 50–950 ramp

primary
#9C48D8
secondary
#B9DBA0
accent
#E84086
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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