#9F4ACC#9F4ACC

#9F4ACC is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.200 H 311.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9F4ACC
RGBrgb(159, 74, 204)
HSLhsl(279, 56%, 55%)
HSVhsv(279, 64%, 80%)
CMYKcmyk(22.1%, 63.7%, 0%, 20%)
CIE-LABlab(47.79, 56.32, -52.95)
CIE-LCHlch(47.79, 77.31, 316.77°)
OKLaboklab(57.43% 0.1336 -0.1491)
OKLCHoklch(57.43% 0.2 311.8)
XYZxyz(27.6440, 16.6288, 58.8685)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4ACC #77CC4A
analogous
#5E4ACC #9F4ACC #CC4AB8
triadic
#9F4ACC #CC9F4A #4ACC9F
tetradic
#9F4ACC #CC5E4A #77CC4A #4AB8CC
square
#9F4ACC #CC5E4A #77CC4A #4AB8CC
split-complementary
#9F4ACC #B8CC4A #4ACC5E
monochromatic
#5B2279 #7F30A9 #9F4ACC #B87AD9 #D2A9E7

Accessibility & contrast

On white

4.85
#9F4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9F4ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4ACC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4ACC#FFFFFF#000000##FFFFFF
##9F4ACC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046DD0
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#9A6384
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f4acc;
/* rgb */ color: rgb(159, 74, 204);
/* oklch */ color: oklch(57.4% 0.200 311.8);
Tailwind
colors: {
  custom: {
    50: '#bf82dc',
    500: '#9f4acc',
    950: '#000000',
  },
}
SCSS
$custom: #9f4acc;
$custom-light: #bf82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4acc",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 279.231,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57431,
    "c": 0.20021,
    "h": 311.8
  },
  "luminance": 0.16628
}

Semantic roles & 50–950 ramp

primary
#9F4ACC
secondary
#B0D49D
accent
#DF487D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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