#9F4ACA#9F4ACA

#9F4ACA is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.3% C 0.198 H 312.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9F4ACA
RGBrgb(159, 74, 202)
HSLhsl(280, 55%, 54%)
HSVhsv(280, 63%, 79%)
CMYKcmyk(21.3%, 63.4%, 0%, 20.8%)
CIE-LABlab(47.67, 55.90, -51.99)
CIE-LCHlch(47.67, 76.34, 317.07°)
OKLaboklab(57.3% 0.1336 -0.1463)
OKLCHoklch(57.3% 0.198 312.4)
XYZxyz(27.4056, 16.5335, 57.6133)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4ACA #75CA4A
analogous
#5F4ACA #9F4ACA #CA4AB5
triadic
#9F4ACA #CA9F4A #4ACA9F
tetradic
#9F4ACA #CA5F4A #75CA4A #4AB5CA
square
#9F4ACA #CA5F4A #75CA4A #4AB5CA
split-complementary
#9F4ACA #B5CA4A #4ACA5F
monochromatic
#5B2377 #7F31A6 #9F4ACA #B879D8 #D1A9E6

Accessibility & contrast

On white

4.88
#9F4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9F4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4ACA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4ACA#FFFFFF#000000##FFFFFF
##9F4ACA1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6DCE
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#9A6383
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f4aca;
/* rgb */ color: rgb(159, 74, 202);
/* oklch */ color: oklch(57.3% 0.198 312.4);
Tailwind
colors: {
  custom: {
    50: '#bf82db',
    500: '#9f4aca',
    950: '#000000',
  },
}
SCSS
$custom: #9f4aca;
$custom-light: #bf82db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4aca",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 279.844,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57303,
    "c": 0.19818,
    "h": 312.4
  },
  "luminance": 0.16533
}

Semantic roles & 50–950 ramp

primary
#9F4ACA
secondary
#AFD39D
accent
#DE4A7C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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