#9D48CE#9D48CE

#9D48CE is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.204 H 310.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9D48CE
RGBrgb(157, 72, 206)
HSLhsl(278, 58%, 55%)
HSVhsv(278, 65%, 81%)
CMYKcmyk(23.8%, 65%, 0%, 19.2%)
CIE-LABlab(47.31, 57.24, -54.88)
CIE-LCHlch(47.31, 79.30, 316.21°)
OKLaboklab(57.07% 0.1332 -0.1548)
OKLCHoklch(57.07% 0.204 310.7)
XYZxyz(27.3605, 16.2597, 60.0777)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48CE #79CE48
analogous
#5A48CE #9D48CE #CE48BC
triadic
#9D48CE #CE9D48 #48CE9D
tetradic
#9D48CE #CE5A48 #79CE48 #48BCCE
square
#9D48CE #CE5A48 #79CE48 #48BCCE
split-complementary
#9D48CE #BCCE48 #48CE5A
monochromatic
#5A217B #7D2EAB #9D48CE #B778DB #D1A9E8

Accessibility & contrast

On white

4.94
#9D48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9D48CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48CE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48CE#FFFFFF#000000##FFFFFF
##9D48CE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#3872CB
Tritanopia (blue-blind)
#976385
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d48ce;
/* rgb */ color: rgb(157, 72, 206);
/* oklch */ color: oklch(57.1% 0.204 310.7);
Tailwind
colors: {
  custom: {
    50: '#be80de',
    500: '#9d48ce',
    950: '#000000',
  },
}
SCSS
$custom: #9d48ce;
$custom-light: #be80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48ce",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 278.06,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57072,
    "c": 0.20428,
    "h": 310.7
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#9D48CE
secondary
#B1D59D
accent
#E1477F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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