#9D48D2#9D48D2

#9D48D2 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.208 H 309.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9D48D2
RGBrgb(157, 72, 210)
HSLhsl(277, 61%, 55%)
HSVhsv(277, 66%, 82%)
CMYKcmyk(25.2%, 65.7%, 0%, 17.6%)
CIE-LABlab(47.57, 58.11, -56.77)
CIE-LCHlch(47.57, 81.23, 315.67°)
OKLaboklab(57.34% 0.133 -0.1604)
OKLCHoklch(57.34% 0.208 309.7)
XYZxyz(27.8526, 16.4565, 62.6694)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48D2 #7DD248
analogous
#5848D2 #9D48D2 #D248C2
triadic
#9D48D2 #D29D48 #48D29D
tetradic
#9D48D2 #D25848 #7DD248 #48C2D2
square
#9D48D2 #D25848 #7DD248 #48C2D2
split-complementary
#9D48D2 #C2D248 #48D258
monochromatic
#5B2080 #7E2CB1 #9D48D2 #B779DE #D2AAEA

Accessibility & contrast

On white

4.89
#9D48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9D48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48D2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48D2#FFFFFF#000000##FFFFFF
##9D48D21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#3372CF
Tritanopia (blue-blind)
#966587
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d48d2;
/* rgb */ color: rgb(157, 72, 210);
/* oklch */ color: oklch(57.3% 0.208 309.7);
Tailwind
colors: {
  custom: {
    50: '#be81e0',
    500: '#9d48d2',
    950: '#000000',
  },
}
SCSS
$custom: #9d48d2;
$custom-light: #be81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48d2",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 276.957,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57336,
    "c": 0.20833,
    "h": 309.7
  },
  "luminance": 0.16456
}

Semantic roles & 50–950 ramp

primary
#9D48D2
secondary
#B4D89E
accent
#E44481
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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