#9D4FDF#9D4FDF

#9D4FDF is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.1% C 0.213 H 305.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9D4FDF
RGBrgb(157, 79, 223)
HSLhsl(273, 69%, 59%)
HSVhsv(273, 65%, 87%)
CMYKcmyk(29.6%, 64.6%, 0%, 12.5%)
CIE-LABlab(49.60, 57.73, -60.90)
CIE-LCHlch(49.60, 83.91, 313.47°)
OKLaboklab(59.07% 0.1242 -0.1725)
OKLCHoklch(59.07% 0.213 305.7)
XYZxyz(30.0170, 18.0880, 71.7077)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FDF #91DF4F
analogous
#554FDF #9D4FDF #DF4FD9
triadic
#9D4FDF #DF9D4F #4FDF9D
tetradic
#9D4FDF #DF554F #91DF4F #4FD9DF
square
#9D4FDF #DF554F #91DF4F #4FD9DF
split-complementary
#9D4FDF #D9DF4F #4FDF55
monochromatic
#5F1C98 #7F25CC #9D4FDF #BA83E8 #D7B7F2

Accessibility & contrast

On white

4.55
#9D4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9D4FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4FDF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FDF#FFFFFF#000000##000000
##9D4FDF1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#2A76DC
Tritanopia (blue-blind)
#926E90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d4fdf;
/* rgb */ color: rgb(157, 79, 223);
/* oklch */ color: oklch(59.1% 0.213 305.7);
Tailwind
colors: {
  custom: {
    50: '#be85ea',
    500: '#9d4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fdf;
$custom-light: #be85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fdf",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 272.5,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59069,
    "c": 0.21258,
    "h": 305.7
  },
  "luminance": 0.18088
}

Semantic roles & 50–950 ramp

primary
#9D4FDF
secondary
#C3E1A9
accent
#EC3C8D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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