#9D4EDD#9D4EDD

#9D4EDD is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.212 H 306.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9D4EDD
RGBrgb(157, 78, 221)
HSLhsl(273, 68%, 59%)
HSVhsv(273, 65%, 87%)
CMYKcmyk(29%, 64.7%, 0%, 13.3%)
CIE-LABlab(49.30, 57.75, -60.25)
CIE-LCHlch(49.30, 83.46, 313.78°)
OKLaboklab(58.81% 0.1254 -0.1706)
OKLCHoklch(58.81% 0.212 306.3)
XYZxyz(29.6774, 17.8376, 70.2722)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4EDD #8EDD4E
analogous
#554EDD #9D4EDD #DD4ED5
triadic
#9D4EDD #DD9D4E #4EDD9D
tetradic
#9D4EDD #DD554E #8EDD4E #4ED5DD
square
#9D4EDD #DD554E #8EDD4E #4ED5DD
split-complementary
#9D4EDD #D5DD4E #4EDD55
monochromatic
#5F1C94 #7F26C7 #9D4EDD #B981E7 #D6B5F1

Accessibility & contrast

On white

4.60
#9D4EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9D4EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4EDD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4EDD#FFFFFF#000000##FFFFFF
##9D4EDD1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#2B76DA
Tritanopia (blue-blind)
#926C8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d4edd;
/* rgb */ color: rgb(157, 78, 221);
/* oklch */ color: oklch(58.8% 0.212 306.3);
Tailwind
colors: {
  custom: {
    50: '#be84e8',
    500: '#9d4edd',
    950: '#000000',
  },
}
SCSS
$custom: #9d4edd;
$custom-light: #be84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4edd",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 273.147,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58808,
    "c": 0.21179,
    "h": 306.3
  },
  "luminance": 0.17837
}

Semantic roles & 50–950 ramp

primary
#9D4EDD
secondary
#C0E0A7
accent
#EB3D8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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