#9D48CD#9D48CD

#9D48CD is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.203 H 311.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9D48CD
RGBrgb(157, 72, 205)
HSLhsl(278, 57%, 54%)
HSVhsv(278, 65%, 80%)
CMYKcmyk(23.4%, 64.9%, 0%, 19.6%)
CIE-LABlab(47.25, 57.02, -54.40)
CIE-LCHlch(47.25, 78.81, 316.35°)
OKLaboklab(57.01% 0.1333 -0.1534)
OKLCHoklch(57.01% 0.203 311)
XYZxyz(27.2394, 16.2112, 59.4399)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48CD #78CD48
analogous
#5B48CD #9D48CD #CD48BB
triadic
#9D48CD #CD9D48 #48CD9D
tetradic
#9D48CD #CD5B48 #78CD48 #48BBCD
square
#9D48CD #CD5B48 #78CD48 #48BBCD
split-complementary
#9D48CD #BBCD48 #48CD5B
monochromatic
#5A2179 #7D2EA9 #9D48CD #B778DA #D0A8E7

Accessibility & contrast

On white

4.95
#9D48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9D48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48CD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48CD#FFFFFF#000000##FFFFFF
##9D48CD1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#3972CA
Tritanopia (blue-blind)
#976384
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d48cd;
/* rgb */ color: rgb(157, 72, 205);
/* oklch */ color: oklch(57.0% 0.203 311.0);
Tailwind
colors: {
  custom: {
    50: '#be80dd',
    500: '#9d48cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d48cd;
$custom-light: #be80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48cd",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 278.346,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.20326,
    "h": 311
  },
  "luminance": 0.16211
}

Semantic roles & 50–950 ramp

primary
#9D48CD
secondary
#B1D59C
accent
#E0477F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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