#98248E#98248E

#98248E is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.190 H 331.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#98248E
RGBrgb(152, 36, 142)
HSLhsl(305, 62%, 37%)
HSVhsv(305, 76%, 60%)
CMYKcmyk(0%, 76.3%, 6.6%, 40.4%)
CIE-LABlab(37.65, 58.33, -32.41)
CIE-LCHlch(37.65, 66.73, 330.94°)
OKLaboklab(48.76% 0.1673 -0.0892)
OKLCHoklch(48.76% 0.19 331.9)
XYZxyz(18.4623, 9.8917, 26.5229)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98248E #24982E
analogous
#682498 #98248E #982454
triadic
#98248E #8E9824 #248E98
tetradic
#98248E #986824 #24982E #245498
square
#98248E #986824 #24982E #245498
split-complementary
#98248E #549824 #249868
monochromatic
#350D32 #671860 #98248E #C930BC #D95ECE

Accessibility & contrast

On white

7.05
#98248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#98248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98248E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98248E#FFFFFF#000000##FFFFFF
##98248E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#4A5E8B
Tritanopia (blue-blind)
#9F3257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98248e;
/* rgb */ color: rgb(152, 36, 142);
/* oklch */ color: oklch(48.8% 0.190 331.9);
Tailwind
colors: {
  custom: {
    50: '#ba6caf',
    500: '#98248e',
    950: '#000000',
  },
}
SCSS
$custom: #98248e;
$custom-light: #ba6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#98248e",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 305.172,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48758,
    "c": 0.18956,
    "h": 331.9
  },
  "luminance": 0.0989
}

Semantic roles & 50–950 ramp

primary
#98248E
secondary
#5ABE63
accent
#E55143
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98248E

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

Preview Lab → · Contrast checker → · Palette generator →

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