#98249A#98249A

#98249A is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.199 H 327.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#98249A
RGBrgb(152, 36, 154)
HSLhsl(299, 62%, 37%)
HSVhsv(299, 77%, 60%)
CMYKcmyk(1.3%, 76.6%, 0%, 39.6%)
CIE-LABlab(38.33, 60.29, -38.65)
CIE-LCHlch(38.33, 71.61, 327.34°)
OKLaboklab(49.46% 0.1673 -0.1073)
OKLCHoklch(49.46% 0.199 327.3)
XYZxyz(19.4122, 10.2716, 31.5258)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98249A #269A24
analogous
#5D249A #98249A #9A2461
triadic
#98249A #9A9824 #249A98
tetradic
#98249A #9A5D24 #269A24 #24619A
square
#98249A #9A5D24 #269A24 #24619A
split-complementary
#98249A #619A24 #249A5D
monochromatic
#360D37 #671868 #98249A #C930CC #D75FDA

Accessibility & contrast

On white

6.88
#98249A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#98249A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98249A
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98249A#FFFFFF#000000##FFFFFF
##98249A1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01519D
Deuteranopia (green-blind)
#435F97
Tritanopia (blue-blind)
#9D385E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98249a;
/* rgb */ color: rgb(152, 36, 154);
/* oklch */ color: oklch(49.5% 0.199 327.3);
Tailwind
colors: {
  custom: {
    50: '#ba6db8',
    500: '#98249a',
    950: '#000000',
  },
}
SCSS
$custom: #98249a;
$custom-light: #ba6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#98249a",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 298.983,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49462,
    "c": 0.19873,
    "h": 327.3
  },
  "luminance": 0.1027
}

Semantic roles & 50–950 ramp

primary
#98249A
secondary
#5DBF5B
accent
#E54345
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #98249A

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

Preview Lab → · Contrast checker → · Palette generator →

#98249A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva