#9A4FCC#9A4FCC

#9A4FCC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.5% C 0.192 H 309.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9A4FCC
RGBrgb(154, 79, 204)
HSLhsl(276, 55%, 55%)
HSVhsv(276, 61%, 80%)
CMYKcmyk(24.5%, 61.3%, 0%, 20%)
CIE-LABlab(48.04, 52.75, -52.59)
CIE-LCHlch(48.04, 74.49, 315.09°)
OKLaboklab(57.47% 0.1213 -0.1483)
OKLCHoklch(57.47% 0.192 309.3)
XYZxyz(27.0194, 16.8221, 58.9387)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4FCC #81CC4F
analogous
#5B4FCC #9A4FCC #CC4FBF
triadic
#9A4FCC #CC9A4F #4FCC9A
tetradic
#9A4FCC #CC5B4F #81CC4F #4FBFCC
square
#9A4FCC #CC5B4F #81CC4F #4FBFCC
split-complementary
#9A4FCC #BFCC4F #4FCC5B
monochromatic
#59247D #7B32AC #9A4FCC #B57EDA #D0AEE7

Accessibility & contrast

On white

4.81
#9A4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9A4FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4FCC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4FCC#FFFFFF#000000##FFFFFF
##9A4FCC1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166FD0
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#936786
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a4fcc;
/* rgb */ color: rgb(154, 79, 204);
/* oklch */ color: oklch(57.5% 0.192 309.3);
Tailwind
colors: {
  custom: {
    50: '#bb84dc',
    500: '#9a4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #9a4fcc;
$custom-light: #bb84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4fcc",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 276,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57472,
    "c": 0.19154,
    "h": 309.3
  },
  "luminance": 0.16822
}

Semantic roles & 50–950 ramp

primary
#9A4FCC
secondary
#B6D5A1
accent
#DE4985
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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