#9F4DD7#9F4DD7

#9F4DD7 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.207 H 308.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9F4DD7
RGBrgb(159, 77, 215)
HSLhsl(276, 63%, 57%)
HSVhsv(276, 64%, 84%)
CMYKcmyk(26%, 64.2%, 0%, 15.7%)
CIE-LABlab(48.99, 57.31, -57.32)
CIE-LCHlch(48.99, 81.06, 314.99°)
OKLaboklab(58.52% 0.1296 -0.162)
OKLCHoklch(58.52% 0.207 308.7)
XYZxyz(29.2152, 17.5855, 66.1321)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4DD7 #85D74D
analogous
#5A4DD7 #9F4DD7 #D74DCA
triadic
#9F4DD7 #D79F4D #4DD79F
tetradic
#9F4DD7 #D75A4D #85D74D #4DCAD7
square
#9F4DD7 #D75A4D #85D74D #4DCAD7
split-complementary
#9F4DD7 #CAD74D #4DD75A
monochromatic
#5F1F8A #812ABC #9F4DD7 #BA7FE2 #D5B1ED

Accessibility & contrast

On white

4.65
#9F4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9F4DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4DD7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4DD7#FFFFFF#000000##FFFFFF
##9F4DD71.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#3675D4
Tritanopia (blue-blind)
#97698B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f4dd7;
/* rgb */ color: rgb(159, 77, 215);
/* oklch */ color: oklch(58.5% 0.207 308.7);
Tailwind
colors: {
  custom: {
    50: '#bf84e4',
    500: '#9f4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #9f4dd7;
$custom-light: #bf84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4dd7",
  "rgb": {
    "r": 159,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 275.652,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58516,
    "c": 0.20741,
    "h": 308.7
  },
  "luminance": 0.17585
}

Semantic roles & 50–950 ramp

primary
#9F4DD7
secondary
#BBDCA4
accent
#E64184
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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