#9D4CD7#9D4CD7

#9D4CD7 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.208 H 308.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9D4CD7
RGBrgb(157, 76, 215)
HSLhsl(275, 63%, 57%)
HSVhsv(275, 65%, 84%)
CMYKcmyk(27%, 64.7%, 0%, 15.7%)
CIE-LABlab(48.57, 57.35, -58.02)
CIE-LCHlch(48.57, 81.58, 314.67°)
OKLaboklab(58.16% 0.1281 -0.1641)
OKLCHoklch(58.16% 0.208 308)
XYZxyz(28.7523, 17.2437, 66.0905)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CD7 #86D74C
analogous
#584CD7 #9D4CD7 #D74CCB
triadic
#9D4CD7 #D79D4C #4CD79D
tetradic
#9D4CD7 #D7584C #86D74C #4CCBD7
square
#9D4CD7 #D7584C #86D74C #4CCBD7
split-complementary
#9D4CD7 #CBD74C #4CD758
monochromatic
#5D1F8A #7F2ABC #9D4CD7 #B87EE2 #D4B0ED

Accessibility & contrast

On white

4.72
#9D4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9D4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CD7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CD7#FFFFFF#000000##FFFFFF
##9D4CD71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#3174D4
Tritanopia (blue-blind)
#94698B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d4cd7;
/* rgb */ color: rgb(157, 76, 215);
/* oklch */ color: oklch(58.2% 0.208 308.0);
Tailwind
colors: {
  custom: {
    50: '#be83e4',
    500: '#9d4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cd7;
$custom-light: #be83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cd7",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 274.964,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58157,
    "c": 0.20818,
    "h": 308
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#9D4CD7
secondary
#BBDCA3
accent
#E64186
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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