#9D49CB#9D49CB

#9D49CB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 57.0% C 0.200 H 311.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9D49CB
RGBrgb(157, 73, 203)
HSLhsl(279, 56%, 54%)
HSVhsv(279, 64%, 80%)
CMYKcmyk(22.7%, 64%, 0%, 20.4%)
CIE-LABlab(47.30, 56.12, -53.18)
CIE-LCHlch(47.30, 77.32, 316.54°)
OKLaboklab(57% 0.1323 -0.1499)
OKLCHoklch(57% 0.2 311.4)
XYZxyz(27.0647, 16.2456, 58.1983)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D49CB #77CB49
analogous
#5C49CB #9D49CB #CB49B8
triadic
#9D49CB #CB9D49 #49CB9D
tetradic
#9D49CB #CB5C49 #77CB49 #49B8CB
square
#9D49CB #CB5C49 #77CB49 #49B8CB
split-complementary
#9D49CB #B8CB49 #49CB5C
monochromatic
#592277 #7D30A7 #9D49CB #B779D9 #D0A8E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D49CB#FFFFFF#000000##FFFFFF
##9D49CB1.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)
#006CCF
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#976384
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d49cb;
/* rgb */ color: rgb(157, 73, 203);
/* oklch */ color: oklch(57.0% 0.200 311.4);
Tailwind
colors: {
  custom: {
    50: '#be81db',
    500: '#9d49cb',
    950: '#000000',
  },
}
SCSS
$custom: #9d49cb;
$custom-light: #be81db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d49cb",
  "rgb": {
    "r": 157,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 278.769,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56999,
    "c": 0.19988,
    "h": 311.4
  },
  "luminance": 0.16245
}

Semantic roles & 50–950 ramp

primary
#9D49CB
secondary
#B0D49C
accent
#DF497E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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