#9C48DB#9C48DB

#9C48DB is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.217 H 307.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9C48DB
RGBrgb(156, 72, 219)
HSLhsl(274, 67%, 57%)
HSVhsv(274, 67%, 86%)
CMYKcmyk(28.8%, 67.1%, 0%, 14.1%)
CIE-LABlab(48.03, 59.89, -61.17)
CIE-LCHlch(48.03, 85.60, 314.39°)
OKLaboklab(57.83% 0.1309 -0.1733)
OKLCHoklch(57.83% 0.217 307)
XYZxyz(28.8111, 16.8175, 68.7324)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48DB #87DB48
analogous
#5348DB #9C48DB #DB48D0
triadic
#9C48DB #DB9C48 #48DB9C
tetradic
#9C48DB #DB5348 #87DB48 #48D0DB
square
#9C48DB #DB5348 #87DB48 #48D0DB
split-complementary
#9C48DB #D0DB48 #48DB53
monochromatic
#5C1C8D #7E26C0 #9C48DB #B87BE5 #D3AEEF

Accessibility & contrast

On white

4.81
#9C48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9C48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48DB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48DB#FFFFFF#000000##FFFFFF
##9C48DB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#2373D8
Tritanopia (blue-blind)
#92688C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c48db;
/* rgb */ color: rgb(156, 72, 219);
/* oklch */ color: oklch(57.8% 0.217 307.0);
Tailwind
colors: {
  custom: {
    50: '#be81e7',
    500: '#9c48db',
    950: '#000000',
  },
}
SCSS
$custom: #9c48db;
$custom-light: #be81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48db",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 274.286,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57828,
    "c": 0.2172,
    "h": 307
  },
  "luminance": 0.16817
}

Semantic roles & 50–950 ramp

primary
#9C48DB
secondary
#BBDDA2
accent
#EA3E88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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