#98248C#98248C

#98248C is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.188 H 332.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#98248C
RGBrgb(152, 36, 140)
HSLhsl(306, 62%, 37%)
HSVhsv(306, 76%, 60%)
CMYKcmyk(0%, 76.3%, 7.9%, 40.4%)
CIE-LABlab(37.54, 58.02, -31.35)
CIE-LCHlch(37.54, 65.95, 331.61°)
OKLaboklab(48.65% 0.1672 -0.0861)
OKLCHoklch(48.65% 0.188 332.7)
XYZxyz(18.3135, 9.8322, 25.7391)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98248C #249830
analogous
#6A2498 #98248C #982452
triadic
#98248C #8C9824 #248C98
tetradic
#98248C #986A24 #249830 #245298
square
#98248C #986A24 #249830 #245298
split-complementary
#98248C #529824 #24986A
monochromatic
#350D31 #67185E #98248C #C930BA #D95ECC

Accessibility & contrast

On white

7.08
#98248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98248C
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98248C#FFFFFF#000000##FFFFFF
##98248C1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#4B5E89
Tritanopia (blue-blind)
#9F3156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98248c;
/* rgb */ color: rgb(152, 36, 140);
/* oklch */ color: oklch(48.6% 0.188 332.7);
Tailwind
colors: {
  custom: {
    50: '#ba6cae',
    500: '#98248c',
    950: '#000000',
  },
}
SCSS
$custom: #98248c;
$custom-light: #ba6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#98248c",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 306.207,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48646,
    "c": 0.18807,
    "h": 332.7
  },
  "luminance": 0.09831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98248C

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

Preview Lab → · Contrast checker → · Palette generator →

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