#9D4CDC#9D4CDC

#9D4CDC is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.5% C 0.213 H 306.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9D4CDC
RGBrgb(157, 76, 220)
HSLhsl(274, 67%, 58%)
HSVhsv(274, 65%, 86%)
CMYKcmyk(28.6%, 65.5%, 0%, 13.7%)
CIE-LABlab(48.89, 58.47, -60.34)
CIE-LCHlch(48.89, 84.02, 314.10°)
OKLaboklab(58.49% 0.1277 -0.1709)
OKLCHoklch(58.49% 0.213 306.8)
XYZxyz(29.4046, 17.5046, 69.5259)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CDC #8BDC4C
analogous
#554CDC #9D4CDC #DC4CD3
triadic
#9D4CDC #DC9D4C #4CDC9D
tetradic
#9D4CDC #DC554C #8BDC4C #4CD3DC
square
#9D4CDC #DC554C #8BDC4C #4CD3DC
split-complementary
#9D4CDC #D3DC4C #4CDC55
monochromatic
#5E1C91 #7F26C4 #9D4CDC #B97FE6 #D5B2F0

Accessibility & contrast

On white

4.67
#9D4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9D4CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CDC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CDC#FFFFFF#000000##FFFFFF
##9D4CDC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#936B8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d4cdc;
/* rgb */ color: rgb(157, 76, 220);
/* oklch */ color: oklch(58.5% 0.213 306.8);
Tailwind
colors: {
  custom: {
    50: '#be83e8',
    500: '#9d4cdc',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cdc;
$custom-light: #be83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cdc",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 273.75,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.21337,
    "h": 306.8
  },
  "luminance": 0.17504
}

Semantic roles & 50–950 ramp

primary
#9D4CDC
secondary
#BEDFA5
accent
#EA3E89
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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