#9D4EDF#9D4EDF

#9D4EDF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.9% C 0.214 H 305.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9D4EDF
RGBrgb(157, 78, 223)
HSLhsl(273, 69%, 59%)
HSVhsv(273, 65%, 87%)
CMYKcmyk(29.6%, 65%, 0%, 12.5%)
CIE-LABlab(49.43, 58.20, -61.18)
CIE-LCHlch(49.43, 84.44, 313.57°)
OKLaboklab(58.94% 0.1253 -0.1734)
OKLCHoklch(58.94% 0.214 305.9)
XYZxyz(29.9454, 17.9448, 71.6839)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4EDF #90DF4E
analogous
#554EDF #9D4EDF #DF4ED8
triadic
#9D4EDF #DF9D4E #4EDF9D
tetradic
#9D4EDF #DF554E #90DF4E #4ED8DF
square
#9D4EDF #DF554E #90DF4E #4ED8DF
split-complementary
#9D4EDF #D8DF4E #4EDF55
monochromatic
#5F1B97 #7F25CB #9D4EDF #BA82E8 #D6B6F2

Accessibility & contrast

On white

4.58
#9D4EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9D4EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4EDF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4EDF#FFFFFF#000000##000000
##9D4EDF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#2876DC
Tritanopia (blue-blind)
#926D90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d4edf;
/* rgb */ color: rgb(157, 78, 223);
/* oklch */ color: oklch(58.9% 0.214 305.9);
Tailwind
colors: {
  custom: {
    50: '#be84ea',
    500: '#9d4edf',
    950: '#000000',
  },
}
SCSS
$custom: #9d4edf;
$custom-light: #be84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4edf",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 223
  },
  "hsl": {
    "h": 272.69,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58944,
    "c": 0.21389,
    "h": 305.9
  },
  "luminance": 0.17945
}

Semantic roles & 50–950 ramp

primary
#9D4EDF
secondary
#C2E1A8
accent
#EC3C8C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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