#9C48E2#9C48E2

#9C48E2 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.224 H 305.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9C48E2
RGBrgb(156, 72, 226)
HSLhsl(273, 73%, 58%)
HSVhsv(273, 68%, 89%)
CMYKcmyk(31%, 68.1%, 0%, 11.4%)
CIE-LABlab(48.50, 61.46, -64.38)
CIE-LCHlch(48.50, 89.01, 313.67°)
OKLaboklab(58.32% 0.13 -0.1828)
OKLCHoklch(58.32% 0.224 305.4)
XYZxyz(29.7521, 17.1938, 73.6881)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48E2 #8EE248
analogous
#4F48E2 #9C48E2 #E248DB
triadic
#9C48E2 #E29C48 #48E29C
tetradic
#9C48E2 #E24F48 #8EE248 #48DBE2
square
#9C48E2 #E24F48 #8EE248 #48DBE2
split-complementary
#9C48E2 #DBE248 #48E24F
monochromatic
#5E1898 #7E20CC #9C48E2 #B97DEA #D5B2F3

Accessibility & contrast

On white

4.73
#9C48E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9C48E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48E2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48E2#FFFFFF#000000##FFFFFF
##9C48E21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#0E73DF
Tritanopia (blue-blind)
#8F6B90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c48e2;
/* rgb */ color: rgb(156, 72, 226);
/* oklch */ color: oklch(58.3% 0.224 305.4);
Tailwind
colors: {
  custom: {
    50: '#be81ec',
    500: '#9c48e2',
    950: '#000000',
  },
}
SCSS
$custom: #9c48e2;
$custom-light: #be81ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48e2",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 272.727,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58317,
    "c": 0.22433,
    "h": 305.4
  },
  "luminance": 0.17194
}

Semantic roles & 50–950 ramp

primary
#9C48E2
secondary
#C0E1A4
accent
#EF388C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C48E2

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

Preview Lab → · Contrast checker → · Palette generator →

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