#9C48E1#9C48E1

#9C48E1 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.223 H 305.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9C48E1
RGBrgb(156, 72, 225)
HSLhsl(273, 72%, 58%)
HSVhsv(273, 68%, 88%)
CMYKcmyk(30.7%, 68%, 0%, 11.8%)
CIE-LABlab(48.43, 61.23, -63.93)
CIE-LCHlch(48.43, 88.52, 313.77°)
OKLaboklab(58.25% 0.1302 -0.1814)
OKLCHoklch(58.25% 0.223 305.7)
XYZxyz(29.6153, 17.1391, 72.9676)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48E1 #8DE148
analogous
#4F48E1 #9C48E1 #E148DA
triadic
#9C48E1 #E19C48 #48E19C
tetradic
#9C48E1 #E14F48 #8DE148 #48DAE1
square
#9C48E1 #E14F48 #8DE148 #48DAE1
split-complementary
#9C48E1 #DAE148 #48E14F
monochromatic
#5D1996 #7E21CB #9C48E1 #B87DEA #D5B1F2

Accessibility & contrast

On white

4.74
#9C48E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9C48E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48E1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48E1#FFFFFF#000000##FFFFFF
##9C48E11.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#1273DE
Tritanopia (blue-blind)
#906A8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c48e1;
/* rgb */ color: rgb(156, 72, 225);
/* oklch */ color: oklch(58.2% 0.223 305.7);
Tailwind
colors: {
  custom: {
    50: '#be81eb',
    500: '#9c48e1',
    950: '#000000',
  },
}
SCSS
$custom: #9c48e1;
$custom-light: #be81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48e1",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 272.941,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58246,
    "c": 0.22331,
    "h": 305.7
  },
  "luminance": 0.17139
}

Semantic roles & 50–950 ramp

primary
#9C48E1
secondary
#BFE1A4
accent
#EF398B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C48E1

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

Preview Lab → · Contrast checker → · Palette generator →

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