#9D48DF#9D48DF

#9D48DF is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.222 H 306.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9D48DF
RGBrgb(157, 72, 223)
HSLhsl(274, 70%, 58%)
HSVhsv(274, 68%, 87%)
CMYKcmyk(29.6%, 67.7%, 0%, 12.5%)
CIE-LABlab(48.42, 60.99, -62.80)
CIE-LCHlch(48.42, 87.54, 314.16°)
OKLaboklab(58.22% 0.1317 -0.1781)
OKLCHoklch(58.22% 0.222 306.5)
XYZxyz(29.5384, 17.1308, 71.5482)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48DF #8ADF48
analogous
#5148DF #9D48DF #DF48D5
triadic
#9D48DF #DF9D48 #48DF9D
tetradic
#9D48DF #DF5148 #8ADF48 #48D5DF
square
#9D48DF #DF5148 #8ADF48 #48D5DF
split-complementary
#9D48DF #D5DF48 #48DF51
monochromatic
#5E1A93 #7F23C7 #9D48DF #B97CE8 #D5B0F1

Accessibility & contrast

On white

4.74
#9D48DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9D48DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48DF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48DF#FFFFFF#000000##FFFFFF
##9D48DF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#1C73DC
Tritanopia (blue-blind)
#926A8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d48df;
/* rgb */ color: rgb(157, 72, 223);
/* oklch */ color: oklch(58.2% 0.222 306.5);
Tailwind
colors: {
  custom: {
    50: '#bf81ea',
    500: '#9d48df',
    950: '#000000',
  },
}
SCSS
$custom: #9d48df;
$custom-light: #bf81ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48df",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 273.775,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58223,
    "c": 0.22153,
    "h": 306.5
  },
  "luminance": 0.17131
}

Semantic roles & 50–950 ramp

primary
#9D48DF
secondary
#BEE0A3
accent
#ED3B89
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D48DF

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

Preview Lab → · Contrast checker → · Palette generator →

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