#9A248F#9A248F

#9A248F is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.191 H 332.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9A248F
RGBrgb(154, 36, 143)
HSLhsl(306, 62%, 37%)
HSVhsv(306, 77%, 60%)
CMYKcmyk(0%, 76.6%, 7.1%, 39.6%)
CIE-LABlab(38.05, 58.94, -32.36)
CIE-LCHlch(38.05, 67.24, 331.23°)
OKLaboklab(49.13% 0.1694 -0.089)
OKLCHoklch(49.13% 0.191 332.3)
XYZxyz(18.9153, 10.1165, 26.9377)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A248F #249A2F
analogous
#6A249A #9A248F #9A2454
triadic
#9A248F #8F9A24 #248F9A
tetradic
#9A248F #9A6A24 #249A2F #24549A
square
#9A248F #9A6A24 #249A2F #24549A
split-complementary
#9A248F #549A24 #249A6A
monochromatic
#370D33 #681861 #9A248F #CC30BD #DA5FCE

Accessibility & contrast

On white

6.95
#9A248F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9A248F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A248F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A248F#FFFFFF#000000##FFFFFF
##9A248F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#A13258
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a248f;
/* rgb */ color: rgb(154, 36, 143);
/* oklch */ color: oklch(49.1% 0.191 332.3);
Tailwind
colors: {
  custom: {
    50: '#bb6cb0',
    500: '#9a248f',
    950: '#000000',
  },
}
SCSS
$custom: #9a248f;
$custom-light: #bb6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a248f",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 305.593,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49131,
    "c": 0.19134,
    "h": 332.3
  },
  "luminance": 0.10115
}

Semantic roles & 50–950 ramp

primary
#9A248F
secondary
#5BBF65
accent
#E55243
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A248F

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

Preview Lab → · Contrast checker → · Palette generator →

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