#9D48CA#9D48CA

#9D48CA is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.200 H 311.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9D48CA
RGBrgb(157, 72, 202)
HSLhsl(279, 55%, 54%)
HSVhsv(279, 64%, 79%)
CMYKcmyk(22.3%, 64.4%, 0%, 20.8%)
CIE-LABlab(47.06, 56.37, -52.98)
CIE-LCHlch(47.06, 77.36, 316.78°)
OKLaboklab(56.81% 0.1335 -0.1493)
OKLCHoklch(56.81% 0.2 311.8)
XYZxyz(26.8807, 16.0678, 57.5510)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48CA #75CA48
analogous
#5C48CA #9D48CA #CA48B6
triadic
#9D48CA #CA9D48 #48CA9D
tetradic
#9D48CA #CA5C48 #75CA48 #48B6CA
square
#9D48CA #CA5C48 #75CA48 #48B6CA
split-complementary
#9D48CA #B6CA48 #48CA5C
monochromatic
#592276 #7C30A5 #9D48CA #B677D8 #D0A7E5

Accessibility & contrast

On white

4.98
#9D48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9D48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48CA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48CA#FFFFFF#000000##FFFFFF
##9D48CA1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3C71C7
Tritanopia (blue-blind)
#986283
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d48ca;
/* rgb */ color: rgb(157, 72, 202);
/* oklch */ color: oklch(56.8% 0.200 311.8);
Tailwind
colors: {
  custom: {
    50: '#be80db',
    500: '#9d48ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d48ca;
$custom-light: #be80db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48ca",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 279.231,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56812,
    "c": 0.20023,
    "h": 311.8
  },
  "luminance": 0.16067
}

Semantic roles & 50–950 ramp

primary
#9D48CA
secondary
#AED39B
accent
#DE497D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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