#9A248B#9A248B

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

Color values

HEX#9A248B
RGBrgb(154, 36, 139)
HSLhsl(308, 62%, 37%)
HSVhsv(308, 77%, 60%)
CMYKcmyk(0%, 76.6%, 9.7%, 39.6%)
CIE-LABlab(37.84, 58.32, -30.25)
CIE-LCHlch(37.84, 65.70, 332.59°)
OKLaboklab(48.91% 0.1692 -0.0829)
OKLCHoklch(48.91% 0.188 333.9)
XYZxyz(18.6177, 9.9975, 25.3703)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A248B #249A33
analogous
#6E249A #9A248B #9A2450
triadic
#9A248B #8B9A24 #248B9A
tetradic
#9A248B #9A6E24 #249A33 #24509A
square
#9A248B #9A6E24 #249A33 #24509A
split-complementary
#9A248B #509A24 #249A6E
monochromatic
#370D31 #68185E #9A248B #CC30B8 #DA5FCA

Accessibility & contrast

On white

7.00
#9A248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9A248B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A248B
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A248B#FFFFFF#000000##FFFFFF
##9A248B1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#A13056
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a248b;
/* rgb */ color: rgb(154, 36, 139);
/* oklch */ color: oklch(48.9% 0.188 333.9);
Tailwind
colors: {
  custom: {
    50: '#bb6cad',
    500: '#9a248b',
    950: '#000000',
  },
}
SCSS
$custom: #9a248b;
$custom-light: #bb6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#9a248b",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 307.627,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4891,
    "c": 0.18841,
    "h": 333.9
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#9A248B
secondary
#5BBF68
accent
#E55743
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A248B

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

Preview Lab → · Contrast checker → · Palette generator →

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