#9F4FD9#9F4FD9

#9F4FD9 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.9% C 0.207 H 307.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9F4FD9
RGBrgb(159, 79, 217)
HSLhsl(275, 64%, 58%)
HSVhsv(275, 64%, 85%)
CMYKcmyk(26.7%, 63.6%, 0%, 14.9%)
CIE-LABlab(49.46, 56.80, -57.70)
CIE-LCHlch(49.46, 80.97, 314.55°)
OKLaboklab(58.9% 0.1272 -0.1631)
OKLCHoklch(58.9% 0.207 307.9)
XYZxyz(29.6159, 17.9731, 67.5412)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FD9 #89D94F
analogous
#5A4FD9 #9F4FD9 #D94FCE
triadic
#9F4FD9 #D99F4F #4FD99F
tetradic
#9F4FD9 #D95A4F #89D94F #4FCED9
square
#9F4FD9 #D95A4F #89D94F #4FCED9
split-complementary
#9F4FD9 #CED94F #4FD95A
monochromatic
#601F8F #812AC1 #9F4FD9 #BA81E4 #D6B4EF

Accessibility & contrast

On white

4.57
#9F4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9F4FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4FD9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FD9#FFFFFF#000000##000000
##9F4FD91.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#3676D6
Tritanopia (blue-blind)
#966B8D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f4fd9;
/* rgb */ color: rgb(159, 79, 217);
/* oklch */ color: oklch(58.9% 0.207 307.9);
Tailwind
colors: {
  custom: {
    50: '#bf85e5',
    500: '#9f4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fd9;
$custom-light: #bf85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fd9",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 274.783,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58899,
    "c": 0.20681,
    "h": 307.9
  },
  "luminance": 0.17973
}

Semantic roles & 50–950 ramp

primary
#9F4FD9
secondary
#BEDDA6
accent
#E74087
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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