#9D49DA#9D49DA

#9D49DA is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.215 H 307.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9D49DA
RGBrgb(157, 73, 218)
HSLhsl(275, 66%, 57%)
HSVhsv(275, 67%, 85%)
CMYKcmyk(28%, 66.5%, 0%, 14.5%)
CIE-LABlab(48.25, 59.41, -60.23)
CIE-LCHlch(48.25, 84.60, 314.61°)
OKLaboklab(58% 0.1312 -0.1706)
OKLCHoklch(58% 0.215 307.6)
XYZxyz(28.9394, 16.9955, 68.0720)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D49DA #86DA49
analogous
#5549DA #9D49DA #DA49CE
triadic
#9D49DA #DA9D49 #49DA9D
tetradic
#9D49DA #DA5549 #86DA49 #49CEDA
square
#9D49DA #DA5549 #86DA49 #49CEDA
split-complementary
#9D49DA #CEDA49 #49DA55
monochromatic
#5D1C8C #7F27BF #9D49DA #B87CE4 #D4AFEF

Accessibility & contrast

On white

4.77
#9D49DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9D49DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D49DA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D49DA#FFFFFF#000000##FFFFFF
##9D49DA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#2873D7
Tritanopia (blue-blind)
#93688C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d49da;
/* rgb */ color: rgb(157, 73, 218);
/* oklch */ color: oklch(58.0% 0.215 307.6);
Tailwind
colors: {
  custom: {
    50: '#be81e6',
    500: '#9d49da',
    950: '#000000',
  },
}
SCSS
$custom: #9d49da;
$custom-light: #be81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d49da",
  "rgb": {
    "r": 157,
    "g": 73,
    "b": 218
  },
  "hsl": {
    "h": 274.759,
    "s": 66.21,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57995,
    "c": 0.21517,
    "h": 307.6
  },
  "luminance": 0.16995
}

Semantic roles & 50–950 ramp

primary
#9D49DA
secondary
#BBDDA2
accent
#E93F86
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D49DA

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

Preview Lab → · Contrast checker → · Palette generator →

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