#9A248E#9A248E

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

Color values

HEX#9A248E
RGBrgb(154, 36, 142)
HSLhsl(306, 62%, 37%)
HSVhsv(306, 77%, 60%)
CMYKcmyk(0%, 76.6%, 7.8%, 39.6%)
CIE-LABlab(38.00, 58.78, -31.84)
CIE-LCHlch(38.00, 66.85, 331.56°)
OKLaboklab(49.08% 0.1694 -0.0875)
OKLCHoklch(49.08% 0.191 332.7)
XYZxyz(18.8399, 10.0864, 26.5406)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A248E #249A30
analogous
#6B249A #9A248E #9A2453
triadic
#9A248E #8E9A24 #248E9A
tetradic
#9A248E #9A6B24 #249A30 #24539A
square
#9A248E #9A6B24 #249A30 #24539A
split-complementary
#9A248E #539A24 #249A6B
monochromatic
#370D33 #681860 #9A248E #CC30BC #DA5FCD

Accessibility & contrast

On white

6.96
#9A248E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A248E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A248E#FFFFFF#000000##FFFFFF
##9A248E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a248e;
/* rgb */ color: rgb(154, 36, 142);
/* oklch */ color: oklch(49.1% 0.191 332.7);
Tailwind
colors: {
  custom: {
    50: '#bb6caf',
    500: '#9a248e',
    950: '#000000',
  },
}
SCSS
$custom: #9a248e;
$custom-light: #bb6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a248e",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 306.102,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49076,
    "c": 0.19061,
    "h": 332.7
  },
  "luminance": 0.10085
}

Semantic roles & 50–950 ramp

primary
#9A248E
secondary
#5BBF65
accent
#E55343
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A248E

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

Preview Lab → · Contrast checker → · Palette generator →

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