#9D49DB#9D49DB

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

Color values

HEX#9D49DB
RGBrgb(157, 73, 219)
HSLhsl(275, 67%, 57%)
HSVhsv(275, 67%, 86%)
CMYKcmyk(28.3%, 66.7%, 0%, 14.1%)
CIE-LABlab(48.32, 59.64, -60.69)
CIE-LCHlch(48.32, 85.09, 314.50°)
OKLaboklab(58.06% 0.1311 -0.1719)
OKLCHoklch(58.06% 0.216 307.3)
XYZxyz(29.0707, 17.0480, 68.7632)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D49DB #87DB49
analogous
#5449DB #9D49DB #DB49D0
triadic
#9D49DB #DB9D49 #49DB9D
tetradic
#9D49DB #DB5449 #87DB49 #49D0DB
square
#9D49DB #DB5449 #87DB49 #49D0DB
split-complementary
#9D49DB #D0DB49 #49DB54
monochromatic
#5D1C8E #7F26C1 #9D49DB #B97CE5 #D4AFEF

Accessibility & contrast

On white

4.76
#9D49DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9D49DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D49DB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D49DB#FFFFFF#000000##FFFFFF
##9D49DB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#2673D8
Tritanopia (blue-blind)
#93698C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d49db;
/* rgb */ color: rgb(157, 73, 219);
/* oklch */ color: oklch(58.1% 0.216 307.3);
Tailwind
colors: {
  custom: {
    50: '#be81e7',
    500: '#9d49db',
    950: '#000000',
  },
}
SCSS
$custom: #9d49db;
$custom-light: #be81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d49db",
  "rgb": {
    "r": 157,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 274.521,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58064,
    "c": 0.21619,
    "h": 307.3
  },
  "luminance": 0.17048
}

Semantic roles & 50–950 ramp

primary
#9D49DB
secondary
#BBDDA2
accent
#EA3E87
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D49DB

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

Preview Lab → · Contrast checker → · Palette generator →

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