#9D4FE5#9D4FE5

#9D4FE5 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.5% C 0.219 H 304.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9D4FE5
RGBrgb(157, 79, 229)
HSLhsl(271, 74%, 60%)
HSVhsv(271, 66%, 90%)
CMYKcmyk(31.4%, 65.5%, 0%, 10.2%)
CIE-LABlab(50.00, 59.11, -63.65)
CIE-LCHlch(50.00, 86.86, 312.88°)
OKLaboklab(59.48% 0.1236 -0.1806)
OKLCHoklch(59.48% 0.219 304.4)
XYZxyz(30.8403, 18.4173, 76.0437)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FE5 #97E54F
analogous
#524FE5 #9D4FE5 #E54FE2
triadic
#9D4FE5 #E59D4F #4FE59D
tetradic
#9D4FE5 #E5524F #97E54F #4FE2E5
square
#9D4FE5 #E5524F #97E54F #4FE2E5
split-complementary
#9D4FE5 #E2E54F #4FE552
monochromatic
#6018A2 #7F20D7 #9D4FE5 #BB84ED #D8BAF5

Accessibility & contrast

On white

4.48
#9D4FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9D4FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4FE5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FE5#FFFFFF#000000##000000
##9D4FE51.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#1D77E2
Tritanopia (blue-blind)
#907093
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d4fe5;
/* rgb */ color: rgb(157, 79, 229);
/* oklch */ color: oklch(59.5% 0.219 304.4);
Tailwind
colors: {
  custom: {
    50: '#bf85ee',
    500: '#9d4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fe5;
$custom-light: #bf85ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fe5",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 271.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59479,
    "c": 0.2189,
    "h": 304.4
  },
  "luminance": 0.18417
}

Semantic roles & 50–950 ramp

primary
#9D4FE5
secondary
#C7E5AB
accent
#D60F6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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