#9F4BD9#9F4BD9

#9F4BD9 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.4% C 0.212 H 308.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9F4BD9
RGBrgb(159, 75, 217)
HSLhsl(275, 65%, 57%)
HSVhsv(275, 65%, 85%)
CMYKcmyk(26.7%, 65.4%, 0%, 14.9%)
CIE-LABlab(48.78, 58.69, -58.81)
CIE-LCHlch(48.78, 83.08, 314.94°)
OKLaboklab(58.4% 0.1317 -0.1663)
OKLCHoklch(58.4% 0.212 308.4)
XYZxyz(29.3360, 17.4133, 67.4479)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BD9 #85D94B
analogous
#584BD9 #9F4BD9 #D94BCC
triadic
#9F4BD9 #D99F4B #4BD99F
tetradic
#9F4BD9 #D9584B #85D94B #4BCCD9
square
#9F4BD9 #D9584B #85D94B #4BCCD9
split-complementary
#9F4BD9 #CCD94B #4BD958
monochromatic
#5F1E8C #8128BF #9F4BD9 #BA7EE4 #D5B0EE

Accessibility & contrast

On white

4.68
#9F4BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9F4BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BD9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BD9#FFFFFF#000000##FFFFFF
##9F4BD91.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#3075D6
Tritanopia (blue-blind)
#96698C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f4bd9;
/* rgb */ color: rgb(159, 75, 217);
/* oklch */ color: oklch(58.4% 0.212 308.4);
Tailwind
colors: {
  custom: {
    50: '#c083e5',
    500: '#9f4bd9',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bd9;
$custom-light: #c083e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bd9",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 275.493,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58404,
    "c": 0.21212,
    "h": 308.4
  },
  "luminance": 0.17413
}

Semantic roles & 50–950 ramp

primary
#9F4BD9
secondary
#BBDDA3
accent
#E84084
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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