#9D48DA#9D48DA

#9D48DA is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.216 H 307.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9D48DA
RGBrgb(157, 72, 218)
HSLhsl(275, 66%, 57%)
HSVhsv(275, 67%, 85%)
CMYKcmyk(28%, 67%, 0%, 14.5%)
CIE-LABlab(48.09, 59.87, -60.50)
CIE-LCHlch(48.09, 85.11, 314.70°)
OKLaboklab(57.88% 0.1323 -0.1713)
OKLCHoklch(57.88% 0.216 307.7)
XYZxyz(28.8742, 16.8652, 68.0503)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48DA #85DA48
analogous
#5448DA #9D48DA #DA48CE
triadic
#9D48DA #DA9D48 #48DA9D
tetradic
#9D48DA #DA5448 #85DA48 #48CEDA
square
#9D48DA #DA5448 #85DA48 #48CEDA
split-complementary
#9D48DA #CEDA48 #48DA54
monochromatic
#5D1C8B #7F26BE #9D48DA #B87BE4 #D4AEEF

Accessibility & contrast

On white

4.80
#9D48DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9D48DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48DA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48DA#FFFFFF#000000##FFFFFF
##9D48DA1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#2673D7
Tritanopia (blue-blind)
#93688B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d48da;
/* rgb */ color: rgb(157, 72, 218);
/* oklch */ color: oklch(57.9% 0.216 307.7);
Tailwind
colors: {
  custom: {
    50: '#be81e6',
    500: '#9d48da',
    950: '#000000',
  },
}
SCSS
$custom: #9d48da;
$custom-light: #be81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48da",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 274.932,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57877,
    "c": 0.21645,
    "h": 307.7
  },
  "luminance": 0.16865
}

Semantic roles & 50–950 ramp

primary
#9D48DA
secondary
#BADDA1
accent
#E93F86
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D48DA

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

Preview Lab → · Contrast checker → · Palette generator →

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