#9A248A#9A248A

#9A248A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.188 H 334.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9A248A
RGBrgb(154, 36, 138)
HSLhsl(308, 62%, 37%)
HSVhsv(308, 77%, 60%)
CMYKcmyk(0%, 76.6%, 10.4%, 39.6%)
CIE-LABlab(37.79, 58.17, -29.71)
CIE-LCHlch(37.79, 65.32, 332.94°)
OKLaboklab(48.86% 0.1691 -0.0814)
OKLCHoklch(48.86% 0.188 334.3)
XYZxyz(18.5449, 9.9684, 24.9872)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A248A #249A34
analogous
#6F249A #9A248A #9A244F
triadic
#9A248A #8A9A24 #248A9A
tetradic
#9A248A #9A6F24 #249A34 #244F9A
square
#9A248A #9A6F24 #249A34 #244F9A
split-complementary
#9A248A #4F9A24 #249A6F
monochromatic
#370D31 #68185E #9A248A #CC30B6 #DA5FC9

Accessibility & contrast

On white

7.02
#9A248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9A248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A248A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A248A#FFFFFF#000000##FFFFFF
##9A248A1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8D
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#A22F55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a248a;
/* rgb */ color: rgb(154, 36, 138);
/* oklch */ color: oklch(48.9% 0.188 334.3);
Tailwind
colors: {
  custom: {
    50: '#bb6cac',
    500: '#9a248a',
    950: '#000000',
  },
}
SCSS
$custom: #9a248a;
$custom-light: #bb6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a248a",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 308.136,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48855,
    "c": 0.18769,
    "h": 334.3
  },
  "luminance": 0.09967
}

Semantic roles & 50–950 ramp

primary
#9A248A
secondary
#5BBF69
accent
#E55943
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A248A

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

Preview Lab → · Contrast checker → · Palette generator →

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