#9D4FC7#9D4FC7

#9D4FC7 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.5% C 0.187 H 311.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9D4FC7
RGBrgb(157, 79, 199)
HSLhsl(279, 52%, 55%)
HSVhsv(279, 60%, 78%)
CMYKcmyk(21.1%, 60.3%, 0%, 22%)
CIE-LABlab(48.11, 52.36, -49.56)
CIE-LCHlch(48.11, 72.10, 316.57°)
OKLaboklab(57.52% 0.1251 -0.1393)
OKLCHoklch(57.52% 0.187 311.9)
XYZxyz(27.0076, 16.8842, 55.8580)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FC7 #79C74F
analogous
#614FC7 #9D4FC7 #C74FB5
triadic
#9D4FC7 #C79D4F #4FC79D
tetradic
#9D4FC7 #C7614F #79C74F #4FB5C7
square
#9D4FC7 #C7614F #79C74F #4FB5C7
split-complementary
#9D4FC7 #B5C74F #4FC761
monochromatic
#5A2676 #7D34A4 #9D4FC7 #B77DD6 #D1ACE5

Accessibility & contrast

On white

4.80
#9D4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9D4FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4FC7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FC7#FFFFFF#000000##FFFFFF
##9D4FC71.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236ECB
Deuteranopia (green-blind)
#4674C4
Tritanopia (blue-blind)
#986584
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d4fc7;
/* rgb */ color: rgb(157, 79, 199);
/* oklch */ color: oklch(57.5% 0.187 311.9);
Tailwind
colors: {
  custom: {
    50: '#bd84d8',
    500: '#9d4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fc7;
$custom-light: #bd84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fc7",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 279,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57515,
    "c": 0.18725,
    "h": 311.9
  },
  "luminance": 0.16884
}

Semantic roles & 50–950 ramp

primary
#9D4FC7
secondary
#B1D2A0
accent
#DB4D7F
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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