#9A4CC7#9A4CC7

#9A4CC7 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.191 H 311.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9A4CC7
RGBrgb(154, 76, 199)
HSLhsl(278, 52%, 54%)
HSVhsv(278, 62%, 78%)
CMYKcmyk(22.6%, 61.8%, 0%, 22%)
CIE-LABlab(47.19, 53.12, -51.07)
CIE-LCHlch(47.19, 73.68, 316.13°)
OKLaboklab(56.76% 0.125 -0.1438)
OKLCHoklch(56.76% 0.191 311)
XYZxyz(26.2178, 16.1630, 55.7604)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CC7 #79C74C
analogous
#5D4CC7 #9A4CC7 #C74CB6
triadic
#9A4CC7 #C79A4C #4CC79A
tetradic
#9A4CC7 #C75D4C #79C74C #4CB6C7
square
#9A4CC7 #C75D4C #79C74C #4CB6C7
split-complementary
#9A4CC7 #B6C74C #4CC75D
monochromatic
#572474 #7A33A3 #9A4CC7 #B47BD6 #CFA9E4

Accessibility & contrast

On white

4.96
#9A4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9A4CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CC7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CC7#FFFFFF#000000##FFFFFF
##9A4CC71.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166CCB
Deuteranopia (green-blind)
#4071C4
Tritanopia (blue-blind)
#946482
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9a4cc7;
/* rgb */ color: rgb(154, 76, 199);
/* oklch */ color: oklch(56.8% 0.191 311.0);
Tailwind
colors: {
  custom: {
    50: '#bb82d9',
    500: '#9a4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cc7;
$custom-light: #bb82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cc7",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 278.049,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5676,
    "c": 0.19053,
    "h": 311
  },
  "luminance": 0.16162
}

Semantic roles & 50–950 ramp

primary
#9A4CC7
secondary
#B0D29D
accent
#DC4C81
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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