#9D4FE4#9D4FE4

#9D4FE4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.4% C 0.218 H 304.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9D4FE4
RGBrgb(157, 79, 228)
HSLhsl(271, 73%, 60%)
HSVhsv(271, 65%, 89%)
CMYKcmyk(31.1%, 65.4%, 0%, 10.6%)
CIE-LABlab(49.93, 58.88, -63.20)
CIE-LCHlch(49.93, 86.37, 312.97°)
OKLaboklab(59.41% 0.1237 -0.1793)
OKLCHoklch(59.41% 0.218 304.6)
XYZxyz(30.7011, 18.3616, 75.3105)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FE4 #96E44F
analogous
#524FE4 #9D4FE4 #E44FE1
triadic
#9D4FE4 #E49D4F #4FE49D
tetradic
#9D4FE4 #E4524F #96E44F #4FE1E4
square
#9D4FE4 #E4524F #96E44F #4FE1E4
split-complementary
#9D4FE4 #E1E44F #4FE452
monochromatic
#5F19A0 #7F21D5 #9D4FE4 #BB84EC #D8B9F4

Accessibility & contrast

On white

4.49
#9D4FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#9D4FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4FE4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FE4#FFFFFF#000000##000000
##9D4FE41.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#2077E1
Tritanopia (blue-blind)
#907093
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d4fe4;
/* rgb */ color: rgb(157, 79, 228);
/* oklch */ color: oklch(59.4% 0.218 304.6);
Tailwind
colors: {
  custom: {
    50: '#bf85ed',
    500: '#9d4fe4',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fe4;
$custom-light: #bf85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fe4",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 271.409,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5941,
    "c": 0.21786,
    "h": 304.6
  },
  "luminance": 0.18361
}

Semantic roles & 50–950 ramp

primary
#9D4FE4
secondary
#C6E4AB
accent
#D6106E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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