#9A248D#9A248D

#9A248D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.190 H 333.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9A248D
RGBrgb(154, 36, 141)
HSLhsl(307, 62%, 37%)
HSVhsv(307, 77%, 60%)
CMYKcmyk(0%, 76.6%, 8.4%, 39.6%)
CIE-LABlab(37.94, 58.63, -31.31)
CIE-LCHlch(37.94, 66.46, 331.90°)
OKLaboklab(49.02% 0.1693 -0.086)
OKLCHoklch(49.02% 0.19 333.1)
XYZxyz(18.7651, 10.0565, 26.1469)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A248D #249A31
analogous
#6C249A #9A248D #9A2452
triadic
#9A248D #8D9A24 #248D9A
tetradic
#9A248D #9A6C24 #249A31 #24529A
square
#9A248D #9A6C24 #249A31 #24529A
split-complementary
#9A248D #529A24 #249A6C
monochromatic
#370D32 #681860 #9A248D #CC30BA #DA5FCC

Accessibility & contrast

On white

6.97
#9A248D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9A248D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A248D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A248D#FFFFFF#000000##FFFFFF
##9A248D1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F90
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#A13157
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a248d;
/* rgb */ color: rgb(154, 36, 141);
/* oklch */ color: oklch(49.0% 0.190 333.1);
Tailwind
colors: {
  custom: {
    50: '#bb6caf',
    500: '#9a248d',
    950: '#000000',
  },
}
SCSS
$custom: #9a248d;
$custom-light: #bb6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a248d",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 306.61,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4902,
    "c": 0.18987,
    "h": 333.1
  },
  "luminance": 0.10055
}

Semantic roles & 50–950 ramp

primary
#9A248D
secondary
#5BBF66
accent
#E55543
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A248D

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

Preview Lab → · Contrast checker → · Palette generator →

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