#9A4FDC#9A4FDC

#9A4FDC is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.209 H 305.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9A4FDC
RGBrgb(154, 79, 220)
HSLhsl(272, 67%, 59%)
HSVhsv(272, 64%, 86%)
CMYKcmyk(30%, 64.1%, 0%, 13.7%)
CIE-LABlab(49.04, 56.39, -60.12)
CIE-LCHlch(49.04, 82.43, 313.17°)
OKLaboklab(58.52% 0.1205 -0.1703)
OKLCHoklch(58.52% 0.209 305.3)
XYZxyz(29.0378, 17.6295, 69.5693)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4FDC #91DC4F
analogous
#534FDC #9A4FDC #DC4FD7
triadic
#9A4FDC #DC9A4F #4FDC9A
tetradic
#9A4FDC #DC534F #91DC4F #4FD7DC
square
#9A4FDC #DC534F #91DC4F #4FD7DC
split-complementary
#9A4FDC #D7DC4F #4FDC53
monochromatic
#5C1D93 #7C27C6 #9A4FDC #B782E6 #D5B5F0

Accessibility & contrast

On white

4.64
#9A4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9A4FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4FDC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4FDC#FFFFFF#000000##FFFFFF
##9A4FDC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#8E6D8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a4fdc;
/* rgb */ color: rgb(154, 79, 220);
/* oklch */ color: oklch(58.5% 0.209 305.3);
Tailwind
colors: {
  custom: {
    50: '#bc85e8',
    500: '#9a4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #9a4fdc;
$custom-light: #bc85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4fdc",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 271.915,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58524,
    "c": 0.20866,
    "h": 305.3
  },
  "luminance": 0.17629
}

Semantic roles & 50–950 ramp

primary
#9A4FDC
secondary
#C2DFA8
accent
#EA3E8E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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