#9A249A#9A249A

#9A249A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.200 H 328.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9A249A
RGBrgb(154, 36, 154)
HSLhsl(300, 62%, 37%)
HSVhsv(300, 77%, 60%)
CMYKcmyk(0%, 76.6%, 0%, 39.6%)
CIE-LABlab(38.67, 60.72, -38.08)
CIE-LCHlch(38.67, 71.67, 327.90°)
OKLaboklab(49.77% 0.1695 -0.1056)
OKLCHoklch(49.77% 0.2 328.1)
XYZxyz(19.7898, 10.4663, 31.5435)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A249A #249A24
analogous
#5F249A #9A249A #9A245F
triadic
#9A249A #9A9A24 #249A9A
tetradic
#9A249A #9A5F24 #249A24 #245F9A
square
#9A249A #9A5F24 #249A24 #245F9A
split-complementary
#9A249A #5F9A24 #249A5F
monochromatic
#370D37 #681868 #9A249A #CC30CC #DA5FDA

Accessibility & contrast

On white

6.79
#9A249A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9A249A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A249A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A249A#FFFFFF#000000##FFFFFF
##9A249A1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05519D
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#9F375E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a249a;
/* rgb */ color: rgb(154, 36, 154);
/* oklch */ color: oklch(49.8% 0.200 328.1);
Tailwind
colors: {
  custom: {
    50: '#bb6db8',
    500: '#9a249a',
    950: '#000000',
  },
}
SCSS
$custom: #9a249a;
$custom-light: #bb6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a249a",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 300,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49771,
    "c": 0.19966,
    "h": 328.1
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#9A249A
secondary
#5BBF5B
accent
#E54343
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A249A

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

Preview Lab → · Contrast checker → · Palette generator →

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