#9D4FEC#9D4FEC

#9D4FEC is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.0% C 0.226 H 302.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9D4FEC
RGBrgb(157, 79, 236)
HSLhsl(270, 81%, 62%)
HSVhsv(270, 67%, 93%)
CMYKcmyk(33.5%, 66.5%, 0%, 7.5%)
CIE-LABlab(50.47, 60.73, -66.83)
CIE-LCHlch(50.47, 90.30, 312.26°)
OKLaboklab(59.97% 0.1229 -0.19)
OKLCHoklch(59.97% 0.226 302.9)
XYZxyz(31.8374, 18.8162, 81.2952)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FEC #9EEC4F
analogous
#4F50EC #9D4FEC #EC4FEC
triadic
#9D4FEC #EC9D4F #4FEC9D
tetradic
#9D4FEC #EC4F50 #9EEC4F #4FECEC
square
#9D4FEC #EC4F50 #9EEC4F #4FECEC
split-complementary
#9D4FEC #ECEC4F #50EC4F
monochromatic
#6013AE #7E19E5 #9D4FEC #BC86F2 #DBBDF8

Accessibility & contrast

On white

4.41
#9D4FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9D4FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4FEC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FEC#FFFFFF#000000##000000
##9D4FEC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#8D7397
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d4fec;
/* rgb */ color: rgb(157, 79, 236);
/* oklch */ color: oklch(60.0% 0.226 302.9);
Tailwind
colors: {
  custom: {
    50: '#bf85f3',
    500: '#9d4fec',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fec;
$custom-light: #bf85f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fec",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 269.809,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59968,
    "c": 0.22627,
    "h": 302.9
  },
  "luminance": 0.18816
}

Semantic roles & 50–950 ramp

primary
#9D4FEC
secondary
#CCE8AE
accent
#DD0973
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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