#98248D#98248D

#98248D is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.189 H 332.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#98248D
RGBrgb(152, 36, 141)
HSLhsl(306, 62%, 37%)
HSVhsv(306, 76%, 60%)
CMYKcmyk(0%, 76.3%, 7.2%, 40.4%)
CIE-LABlab(37.59, 58.17, -31.88)
CIE-LCHlch(37.59, 66.34, 331.27°)
OKLaboklab(48.7% 0.1672 -0.0877)
OKLCHoklch(48.7% 0.189 332.3)
XYZxyz(18.3876, 9.8618, 26.1292)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98248D #24982F
analogous
#692498 #98248D #982453
triadic
#98248D #8D9824 #248D98
tetradic
#98248D #986924 #24982F #245398
square
#98248D #986924 #24982F #245398
split-complementary
#98248D #539824 #249869
monochromatic
#350D31 #67185F #98248D #C930BB #D95ECD

Accessibility & contrast

On white

7.07
#98248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#98248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98248D
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98248D#FFFFFF#000000##FFFFFF
##98248D1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E90
Deuteranopia (green-blind)
#4B5E8A
Tritanopia (blue-blind)
#9F3157
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98248d;
/* rgb */ color: rgb(152, 36, 141);
/* oklch */ color: oklch(48.7% 0.189 332.3);
Tailwind
colors: {
  custom: {
    50: '#ba6caf',
    500: '#98248d',
    950: '#000000',
  },
}
SCSS
$custom: #98248d;
$custom-light: #ba6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#98248d",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 305.69,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48702,
    "c": 0.18881,
    "h": 332.3
  },
  "luminance": 0.0986
}

Semantic roles & 50–950 ramp

primary
#98248D
secondary
#5ABE64
accent
#E55243
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98248D

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

Preview Lab → · Contrast checker → · Palette generator →

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