#98249F#98249F

#98249F is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.203 H 325.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#98249F
RGBrgb(152, 36, 159)
HSLhsl(297, 63%, 38%)
HSVhsv(297, 77%, 62%)
CMYKcmyk(4.4%, 77.4%, 0%, 37.6%)
CIE-LABlab(38.62, 61.14, -41.19)
CIE-LCHlch(38.62, 73.72, 326.03°)
OKLaboklab(49.77% 0.1671 -0.1147)
OKLCHoklch(49.77% 0.203 325.5)
XYZxyz(19.8373, 10.4417, 33.7648)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98249F #2B9F24
analogous
#5A249F #98249F #9F2468
triadic
#98249F #9F9824 #249F98
tetradic
#98249F #9F5A24 #2B9F24 #24689F
square
#98249F #9F5A24 #2B9F24 #24689F
split-complementary
#98249F #689F24 #249F5A
monochromatic
#390D3B #68196D #98249F #C730D0 #D562DB

Accessibility & contrast

On white

6.80
#98249F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#98249F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98249F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98249F#FFFFFF#000000##FFFFFF
##98249F1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#40609C
Tritanopia (blue-blind)
#9C3A61
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98249f;
/* rgb */ color: rgb(152, 36, 159);
/* oklch */ color: oklch(49.8% 0.203 325.5);
Tailwind
colors: {
  custom: {
    50: '#ba6dbc',
    500: '#98249f',
    950: '#000000',
  },
}
SCSS
$custom: #98249f;
$custom-light: #ba6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#98249f",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 296.585,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4977,
    "c": 0.20265,
    "h": 325.5
  },
  "luminance": 0.1044
}

Semantic roles & 50–950 ramp

primary
#98249F
secondary
#64C15E
accent
#E6424B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98249F

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

Preview Lab → · Contrast checker → · Palette generator →

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