#9D48D9#9D48D9

#9D48D9 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.215 H 307.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9D48D9
RGBrgb(157, 72, 217)
HSLhsl(275, 66%, 57%)
HSVhsv(275, 67%, 85%)
CMYKcmyk(27.6%, 66.8%, 0%, 14.9%)
CIE-LABlab(48.02, 59.65, -60.03)
CIE-LCHlch(48.02, 84.63, 314.82°)
OKLaboklab(57.81% 0.1324 -0.17)
OKLCHoklch(57.81% 0.215 307.9)
XYZxyz(28.7438, 16.8130, 67.3632)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48D9 #84D948
analogous
#5548D9 #9D48D9 #D948CD
triadic
#9D48D9 #D99D48 #48D99D
tetradic
#9D48D9 #D95548 #84D948 #48CDD9
square
#9D48D9 #D95548 #84D948 #48CDD9
split-complementary
#9D48D9 #CDD948 #48D955
monochromatic
#5D1D8A #7F27BD #9D48D9 #B87BE4 #D3ADEE

Accessibility & contrast

On white

4.81
#9D48D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9D48D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48D9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48D9#FFFFFF#000000##FFFFFF
##9D48D91.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#2873D6
Tritanopia (blue-blind)
#94678B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d48d9;
/* rgb */ color: rgb(157, 72, 217);
/* oklch */ color: oklch(57.8% 0.215 307.9);
Tailwind
colors: {
  custom: {
    50: '#be81e6',
    500: '#9d48d9',
    950: '#000000',
  },
}
SCSS
$custom: #9d48d9;
$custom-light: #be81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48d9",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 275.172,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.21544,
    "h": 307.9
  },
  "luminance": 0.16813
}

Semantic roles & 50–950 ramp

primary
#9D48D9
secondary
#B9DCA1
accent
#E93F85
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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