#9C48DF#9C48DF

#9C48DF is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.221 H 306.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9C48DF
RGBrgb(156, 72, 223)
HSLhsl(273, 70%, 58%)
HSVhsv(273, 68%, 87%)
CMYKcmyk(30%, 67.7%, 0%, 12.5%)
CIE-LABlab(48.30, 60.78, -63.01)
CIE-LCHlch(48.30, 87.55, 313.97°)
OKLaboklab(58.11% 0.1304 -0.1788)
OKLCHoklch(58.11% 0.221 306.1)
XYZxyz(29.3441, 17.0306, 71.5391)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48DF #8BDF48
analogous
#5048DF #9C48DF #DF48D7
triadic
#9C48DF #DF9C48 #48DF9C
tetradic
#9C48DF #DF5048 #8BDF48 #48D7DF
square
#9C48DF #DF5048 #8BDF48 #48D7DF
split-complementary
#9C48DF #D7DF48 #48DF50
monochromatic
#5D1A93 #7E23C7 #9C48DF #B87CE8 #D4B0F1

Accessibility & contrast

On white

4.77
#9C48DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9C48DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48DF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48DF#FFFFFF#000000##FFFFFF
##9C48DF1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#1973DC
Tritanopia (blue-blind)
#906A8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c48df;
/* rgb */ color: rgb(156, 72, 223);
/* oklch */ color: oklch(58.1% 0.221 306.1);
Tailwind
colors: {
  custom: {
    50: '#be81ea',
    500: '#9c48df',
    950: '#000000',
  },
}
SCSS
$custom: #9c48df;
$custom-light: #be81ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48df",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 273.377,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58106,
    "c": 0.22127,
    "h": 306.1
  },
  "luminance": 0.1703
}

Semantic roles & 50–950 ramp

primary
#9C48DF
secondary
#BEE0A3
accent
#ED3B8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C48DF

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

Preview Lab → · Contrast checker → · Palette generator →

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