#9D4CDA#9D4CDA

#9D4CDA is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.4% C 0.211 H 307.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9D4CDA
RGBrgb(157, 76, 218)
HSLhsl(274, 66%, 58%)
HSVhsv(274, 65%, 85%)
CMYKcmyk(28%, 65.1%, 0%, 14.5%)
CIE-LABlab(48.76, 58.02, -59.42)
CIE-LCHlch(48.76, 83.05, 314.32°)
OKLaboklab(58.36% 0.1279 -0.1682)
OKLCHoklch(58.36% 0.211 307.2)
XYZxyz(29.1413, 17.3993, 68.1393)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CDA #89DA4C
analogous
#564CDA #9D4CDA #DA4CD0
triadic
#9D4CDA #DA9D4C #4CDA9D
tetradic
#9D4CDA #DA564C #89DA4C #4CD0DA
square
#9D4CDA #DA564C #89DA4C #4CD0DA
split-complementary
#9D4CDA #D0DA4C #4CDA56
monochromatic
#5E1D8E #7F28C1 #9D4CDA #B97FE4 #D5B1EF

Accessibility & contrast

On white

4.69
#9D4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9D4CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CDA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CDA#FFFFFF#000000##FFFFFF
##9D4CDA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#2D75D7
Tritanopia (blue-blind)
#936A8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d4cda;
/* rgb */ color: rgb(157, 76, 218);
/* oklch */ color: oklch(58.4% 0.211 307.2);
Tailwind
colors: {
  custom: {
    50: '#be83e6',
    500: '#9d4cda',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cda;
$custom-light: #be83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cda",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 274.225,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58358,
    "c": 0.21129,
    "h": 307.2
  },
  "luminance": 0.17399
}

Semantic roles & 50–950 ramp

primary
#9D4CDA
secondary
#BDDDA4
accent
#E93F88
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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