#9F4FD4#9F4FD4

#9F4FD4 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.202 H 309.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9F4FD4
RGBrgb(159, 79, 212)
HSLhsl(276, 61%, 57%)
HSVhsv(276, 63%, 83%)
CMYKcmyk(25%, 62.7%, 0%, 16.9%)
CIE-LABlab(49.15, 55.69, -55.35)
CIE-LCHlch(49.15, 78.52, 315.17°)
OKLaboklab(58.57% 0.1274 -0.1562)
OKLCHoklch(58.57% 0.202 309.2)
XYZxyz(28.9754, 17.7169, 64.1679)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FD4 #84D44F
analogous
#5C4FD4 #9F4FD4 #D44FC7
triadic
#9F4FD4 #D49F4F #4FD49F
tetradic
#9F4FD4 #D45C4F #84D44F #4FC7D4
square
#9F4FD4 #D45C4F #84D44F #4FC7D4
split-complementary
#9F4FD4 #C7D44F #4FD45C
monochromatic
#5F2187 #812DB9 #9F4FD4 #BA80E0 #D5B1EC

Accessibility & contrast

On white

4.62
#9F4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9F4FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4FD4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FD4#FFFFFF#000000##FFFFFF
##9F4FD41.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0171D8
Deuteranopia (green-blind)
#3C76D1
Tritanopia (blue-blind)
#976A8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4fd4;
/* rgb */ color: rgb(159, 79, 212);
/* oklch */ color: oklch(58.6% 0.202 309.2);
Tailwind
colors: {
  custom: {
    50: '#bf85e2',
    500: '#9f4fd4',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fd4;
$custom-light: #bf85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fd4",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 276.09,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58573,
    "c": 0.20156,
    "h": 309.2
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#9F4FD4
secondary
#BADAA4
accent
#E44484
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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