#9D48D8#9D48D8

#9D48D8 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.7% C 0.214 H 308.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9D48D8
RGBrgb(157, 72, 216)
HSLhsl(275, 65%, 56%)
HSVhsv(275, 67%, 85%)
CMYKcmyk(27.3%, 66.7%, 0%, 15.3%)
CIE-LABlab(47.96, 59.43, -59.57)
CIE-LCHlch(47.96, 84.14, 314.93°)
OKLaboklab(57.74% 0.1325 -0.1686)
OKLCHoklch(57.74% 0.214 308.2)
XYZxyz(28.6141, 16.7611, 66.6803)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48D8 #83D848
analogous
#5548D8 #9D48D8 #D848CB
triadic
#9D48D8 #D89D48 #48D89D
tetradic
#9D48D8 #D85548 #83D848 #48CBD8
square
#9D48D8 #D85548 #83D848 #48CBD8
split-complementary
#9D48D8 #CBD848 #48D855
monochromatic
#5C1D89 #7F28BB #9D48D8 #B87AE3 #D3ADEE

Accessibility & contrast

On white

4.83
#9D48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9D48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48D8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48D8#FFFFFF#000000##FFFFFF
##9D48D81.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#2A73D5
Tritanopia (blue-blind)
#94678A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d48d8;
/* rgb */ color: rgb(157, 72, 216);
/* oklch */ color: oklch(57.7% 0.214 308.2);
Tailwind
colors: {
  custom: {
    50: '#be81e5',
    500: '#9d48d8',
    950: '#000000',
  },
}
SCSS
$custom: #9d48d8;
$custom-light: #be81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48d8",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 275.417,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5774,
    "c": 0.21441,
    "h": 308.2
  },
  "luminance": 0.16761
}

Semantic roles & 50–950 ramp

primary
#9D48D8
secondary
#B9DBA0
accent
#E84085
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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