#98248A#98248A

#98248A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.187 H 333.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#98248A
RGBrgb(152, 36, 138)
HSLhsl(307, 62%, 37%)
HSVhsv(307, 76%, 60%)
CMYKcmyk(0%, 76.3%, 9.2%, 40.4%)
CIE-LABlab(37.43, 57.70, -30.29)
CIE-LCHlch(37.43, 65.17, 332.30°)
OKLaboklab(48.54% 0.1671 -0.0831)
OKLCHoklch(48.54% 0.187 333.6)
XYZxyz(18.1674, 9.7737, 24.9695)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98248A #249832
analogous
#6C2498 #98248A #982450
triadic
#98248A #8A9824 #248A98
tetradic
#98248A #986C24 #249832 #245098
square
#98248A #986C24 #249832 #245098
split-complementary
#98248A #509824 #24986C
monochromatic
#350D30 #67185D #98248A #C930B7 #D95ECA

Accessibility & contrast

On white

7.11
#98248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#98248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98248A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98248A#FFFFFF#000000##FFFFFF
##98248A1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8D
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#9F3055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98248a;
/* rgb */ color: rgb(152, 36, 138);
/* oklch */ color: oklch(48.5% 0.187 333.6);
Tailwind
colors: {
  custom: {
    50: '#ba6cac',
    500: '#98248a',
    950: '#000000',
  },
}
SCSS
$custom: #98248a;
$custom-light: #ba6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#98248a",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 307.241,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48536,
    "c": 0.1866,
    "h": 333.6
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

primary
#98248A
secondary
#5ABE66
accent
#E55743
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98248A

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

Preview Lab → · Contrast checker → · Palette generator →

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