#98249D#98249D

#98249D is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.6% C 0.201 H 326.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#98249D
RGBrgb(152, 36, 157)
HSLhsl(298, 63%, 38%)
HSVhsv(298, 77%, 62%)
CMYKcmyk(3.2%, 77.1%, 0%, 38.4%)
CIE-LABlab(38.50, 60.80, -40.18)
CIE-LCHlch(38.50, 72.87, 326.54°)
OKLaboklab(49.65% 0.1672 -0.1117)
OKLCHoklch(49.65% 0.201 326.2)
XYZxyz(19.6652, 10.3728, 32.8581)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98249D #299D24
analogous
#5C249D #98249D #9D2465
triadic
#98249D #9D9824 #249D98
tetradic
#98249D #9D5C24 #299D24 #24659D
square
#98249D #9D5C24 #299D24 #24659D
split-complementary
#98249D #659D24 #249D5C
monochromatic
#380D39 #68196B #98249D #C82FCF #D661DB

Accessibility & contrast

On white

6.83
#98249D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98249D
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98249D#FFFFFF#000000##FFFFFF
##98249D1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#41609A
Tritanopia (blue-blind)
#9C3960
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98249d;
/* rgb */ color: rgb(152, 36, 157);
/* oklch */ color: oklch(49.6% 0.201 326.2);
Tailwind
colors: {
  custom: {
    50: '#ba6dba',
    500: '#98249d',
    950: '#000000',
  },
}
SCSS
$custom: #98249d;
$custom-light: #ba6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#98249d",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 297.521,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49646,
    "c": 0.20108,
    "h": 326.2
  },
  "luminance": 0.10371
}

Semantic roles & 50–950 ramp

primary
#98249D
secondary
#61C05D
accent
#E64249
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #98249D

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

Preview Lab → · Contrast checker → · Palette generator →

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