#9A4ECC#9A4ECC

#9A4ECC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.3% C 0.193 H 309.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9A4ECC
RGBrgb(154, 78, 204)
HSLhsl(276, 55%, 55%)
HSVhsv(276, 62%, 80%)
CMYKcmyk(24.5%, 61.8%, 0%, 20%)
CIE-LABlab(47.85, 53.24, -52.88)
CIE-LCHlch(47.85, 75.04, 315.20°)
OKLaboklab(57.34% 0.1225 -0.1491)
OKLCHoklch(57.34% 0.193 309.4)
XYZxyz(26.9478, 16.6789, 58.9148)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4ECC #80CC4E
analogous
#5B4ECC #9A4ECC #CC4EBF
triadic
#9A4ECC #CC9A4E #4ECC9A
tetradic
#9A4ECC #CC5B4E #80CC4E #4EBFCC
square
#9A4ECC #CC5B4E #80CC4E #4EBFCC
split-complementary
#9A4ECC #BFCC4E #4ECC5B
monochromatic
#59247C #7B31AB #9A4ECC #B57EDA #D0ADE7

Accessibility & contrast

On white

4.84
#9A4ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9A4ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4ECC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4ECC#FFFFFF#000000##FFFFFF
##9A4ECC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116ED0
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#936786
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a4ecc;
/* rgb */ color: rgb(154, 78, 204);
/* oklch */ color: oklch(57.3% 0.193 309.4);
Tailwind
colors: {
  custom: {
    50: '#bb84dc',
    500: '#9a4ecc',
    950: '#000000',
  },
}
SCSS
$custom: #9a4ecc;
$custom-light: #bb84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4ecc",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 276.19,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5734,
    "c": 0.19296,
    "h": 309.4
  },
  "luminance": 0.16678
}

Semantic roles & 50–950 ramp

primary
#9A4ECC
secondary
#B5D5A1
accent
#DF4984
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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