#9D48DD#9D48DD

#9D48DD is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.219 H 306.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9D48DD
RGBrgb(157, 72, 221)
HSLhsl(274, 69%, 57%)
HSVhsv(274, 67%, 87%)
CMYKcmyk(29%, 67.4%, 0%, 13.3%)
CIE-LABlab(48.29, 60.54, -61.88)
CIE-LCHlch(48.29, 86.57, 314.37°)
OKLaboklab(58.08% 0.1319 -0.1754)
OKLCHoklch(58.08% 0.219 306.9)
XYZxyz(29.2704, 17.0236, 70.1365)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48DD #88DD48
analogous
#5248DD #9D48DD #DD48D3
triadic
#9D48DD #DD9D48 #48DD9D
tetradic
#9D48DD #DD5248 #88DD48 #48D3DD
square
#9D48DD #DD5248 #88DD48 #48D3DD
split-complementary
#9D48DD #D3DD48 #48DD52
monochromatic
#5E1B90 #7F24C3 #9D48DD #B97CE7 #D4AFF0

Accessibility & contrast

On white

4.77
#9D48DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9D48DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48DD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48DD#FFFFFF#000000##FFFFFF
##9D48DD1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#2073DA
Tritanopia (blue-blind)
#92698D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d48dd;
/* rgb */ color: rgb(157, 72, 221);
/* oklch */ color: oklch(58.1% 0.219 306.9);
Tailwind
colors: {
  custom: {
    50: '#bf81e8',
    500: '#9d48dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d48dd;
$custom-light: #bf81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48dd",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 274.228,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58084,
    "c": 0.21949,
    "h": 306.9
  },
  "luminance": 0.17023
}

Semantic roles & 50–950 ramp

primary
#9D48DD
secondary
#BCDEA2
accent
#EC3C88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D48DD

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

Preview Lab → · Contrast checker → · Palette generator →

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