#9A4FA2#9A4FA2

#9A4FA2 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.0% C 0.148 H 323.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9A4FA2
RGBrgb(154, 79, 162)
HSLhsl(294, 34%, 47%)
HSVhsv(294, 51%, 64%)
CMYKcmyk(4.9%, 51.2%, 0%, 36.5%)
CIE-LABlab(45.73, 43.87, -31.72)
CIE-LCHlch(45.73, 54.14, 324.13°)
OKLaboklab(55.04% 0.1189 -0.0875)
OKLCHoklch(55.04% 0.148 323.6)
XYZxyz(22.6434, 15.0717, 35.8918)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4FA2 #57A24F
analogous
#714FA2 #9A4FA2 #A24F81
triadic
#9A4FA2 #A29A4F #4FA29A
tetradic
#9A4FA2 #A2714F #57A24F #4F81A2
square
#9A4FA2 #A2714F #57A24F #4F81A2
split-complementary
#9A4FA2 #81A24F #4FA271
monochromatic
#4C2750 #733B79 #9A4FA2 #B473BB #CA9CCF

Accessibility & contrast

On white

5.23
#9A4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9A4FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4FA2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4FA2#FFFFFF#000000##FFFFFF
##9A4FA21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#5B6FA0
Tritanopia (blue-blind)
#9D5971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a4fa2;
/* rgb */ color: rgb(154, 79, 162);
/* oklch */ color: oklch(55.0% 0.148 323.6);
Tailwind
colors: {
  custom: {
    50: '#ba83be',
    500: '#9a4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9a4fa2;
$custom-light: #ba83be;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4fa2",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 294.217,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55041,
    "c": 0.14759,
    "h": 323.6
  },
  "luminance": 0.15071
}

Semantic roles & 50–950 ramp

primary
#9A4FA2
secondary
#95BC91
accent
#CB5D68
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #9A4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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