#98249E#98249E

#98249E is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.202 H 325.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#98249E
RGBrgb(152, 36, 158)
HSLhsl(297, 63%, 38%)
HSVhsv(297, 77%, 62%)
CMYKcmyk(3.8%, 77.2%, 0%, 38%)
CIE-LABlab(38.56, 60.97, -40.69)
CIE-LCHlch(38.56, 73.30, 326.28°)
OKLaboklab(49.71% 0.1671 -0.1132)
OKLCHoklch(49.71% 0.202 325.9)
XYZxyz(19.7509, 10.4071, 33.3096)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98249E #2A9E24
analogous
#5B249E #98249E #9E2467
triadic
#98249E #9E9824 #249E98
tetradic
#98249E #9E5B24 #2A9E24 #24679E
square
#98249E #9E5B24 #2A9E24 #24679E
split-complementary
#98249E #679E24 #249E5B
monochromatic
#380D3A #68196C #98249E #C82FD0 #D561DB

Accessibility & contrast

On white

6.82
#98249E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#98249E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98249E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98249E#FFFFFF#000000##FFFFFF
##98249E1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#41609B
Tritanopia (blue-blind)
#9C3A60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98249e;
/* rgb */ color: rgb(152, 36, 158);
/* oklch */ color: oklch(49.7% 0.202 325.9);
Tailwind
colors: {
  custom: {
    50: '#ba6dbb',
    500: '#98249e',
    950: '#000000',
  },
}
SCSS
$custom: #98249e;
$custom-light: #ba6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#98249e",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 297.049,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49708,
    "c": 0.20187,
    "h": 325.9
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#98249E
secondary
#62C05E
accent
#E6424A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98249E

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

Preview Lab → · Contrast checker → · Palette generator →

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