#98249C#98249C

#98249C is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.200 H 326.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#98249C
RGBrgb(152, 36, 156)
HSLhsl(298, 63%, 38%)
HSVhsv(298, 77%, 61%)
CMYKcmyk(2.6%, 76.9%, 0%, 38.8%)
CIE-LABlab(38.44, 60.63, -39.67)
CIE-LCHlch(38.44, 72.45, 326.80°)
OKLaboklab(49.58% 0.1672 -0.1103)
OKLCHoklch(49.58% 0.2 326.6)
XYZxyz(19.5802, 10.3388, 32.4103)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98249C #289C24
analogous
#5C249C #98249C #9C2464
triadic
#98249C #9C9824 #249C98
tetradic
#98249C #9C5C24 #289C24 #24649C
square
#98249C #9C5C24 #289C24 #24649C
split-complementary
#98249C #649C24 #249C5C
monochromatic
#370D39 #68196A #98249C #C82FCE #D660DA

Accessibility & contrast

On white

6.85
#98249C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#98249C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98249C
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98249C#FFFFFF#000000##FFFFFF
##98249C1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#425F99
Tritanopia (blue-blind)
#9C395F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98249c;
/* rgb */ color: rgb(152, 36, 156);
/* oklch */ color: oklch(49.6% 0.200 326.6);
Tailwind
colors: {
  custom: {
    50: '#ba6dba',
    500: '#98249c',
    950: '#000000',
  },
}
SCSS
$custom: #98249c;
$custom-light: #ba6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#98249c",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 298,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.20029,
    "h": 326.6
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#98249C
secondary
#60BF5C
accent
#E64248
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #98249C

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

Preview Lab → · Contrast checker → · Palette generator →

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