#9D48D0#9D48D0

#9D48D0 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.206 H 310.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9D48D0
RGBrgb(157, 72, 208)
HSLhsl(278, 59%, 55%)
HSVhsv(278, 65%, 82%)
CMYKcmyk(24.5%, 65.4%, 0%, 18.4%)
CIE-LABlab(47.44, 57.67, -55.82)
CIE-LCHlch(47.44, 80.26, 315.93°)
OKLaboklab(57.2% 0.1331 -0.1576)
OKLCHoklch(57.2% 0.206 310.2)
XYZxyz(27.6050, 16.3575, 61.3654)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48D0 #7BD048
analogous
#5948D0 #9D48D0 #D048BF
triadic
#9D48D0 #D09D48 #48D09D
tetradic
#9D48D0 #D05948 #7BD048 #48BFD0
square
#9D48D0 #D05948 #7BD048 #48BFD0
split-complementary
#9D48D0 #BFD048 #48D059
monochromatic
#5A207D #7E2DAE #9D48D0 #B779DD #D1A9E9

Accessibility & contrast

On white

4.92
#9D48D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9D48D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48D0
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48D0#FFFFFF#000000##FFFFFF
##9D48D01.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#3572CD
Tritanopia (blue-blind)
#966486
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d48d0;
/* rgb */ color: rgb(157, 72, 208);
/* oklch */ color: oklch(57.2% 0.206 310.2);
Tailwind
colors: {
  custom: {
    50: '#be81df',
    500: '#9d48d0',
    950: '#000000',
  },
}
SCSS
$custom: #9d48d0;
$custom-light: #be81df;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48d0",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 208
  },
  "hsl": {
    "h": 277.5,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57204,
    "c": 0.20631,
    "h": 310.2
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#9D48D0
secondary
#B3D79D
accent
#E24580
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D48D0

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

Preview Lab → · Contrast checker → · Palette generator →

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