#9C48CF#9C48CF

#9C48CF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.205 H 310.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9C48CF
RGBrgb(156, 72, 207)
HSLhsl(277, 58%, 55%)
HSVhsv(277, 65%, 81%)
CMYKcmyk(24.6%, 65.2%, 0%, 18.8%)
CIE-LABlab(47.25, 57.23, -55.57)
CIE-LCHlch(47.25, 79.77, 315.85°)
OKLaboklab(57.02% 0.1319 -0.1569)
OKLCHoklch(57.02% 0.205 310.1)
XYZxyz(27.2880, 16.2082, 60.7104)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48CF #7BCF48
analogous
#5848CF #9C48CF #CF48BF
triadic
#9C48CF #CF9C48 #48CF9C
tetradic
#9C48CF #CF5848 #7BCF48 #48BFCF
square
#9C48CF #CF5848 #7BCF48 #48BFCF
split-complementary
#9C48CF #BFCF48 #48CF58
monochromatic
#59217C #7C2DAD #9C48CF #B678DC #D0A9E8

Accessibility & contrast

On white

4.95
#9C48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9C48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48CF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48CF#FFFFFF#000000##FFFFFF
##9C48CF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#956485
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9c48cf;
/* rgb */ color: rgb(156, 72, 207);
/* oklch */ color: oklch(57.0% 0.205 310.1);
Tailwind
colors: {
  custom: {
    50: '#bd80de',
    500: '#9c48cf',
    950: '#000000',
  },
}
SCSS
$custom: #9c48cf;
$custom-light: #bd80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48cf",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 277.333,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57016,
    "c": 0.20498,
    "h": 310.1
  },
  "luminance": 0.16208
}

Semantic roles & 50–950 ramp

primary
#9C48CF
secondary
#B2D69D
accent
#E24681
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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