#98248F#98248F

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

Color values

HEX#98248F
RGBrgb(152, 36, 143)
HSLhsl(305, 62%, 37%)
HSVhsv(305, 76%, 60%)
CMYKcmyk(0%, 76.3%, 5.9%, 40.4%)
CIE-LABlab(37.70, 58.49, -32.94)
CIE-LCHlch(37.70, 67.13, 330.62°)
OKLaboklab(48.82% 0.1673 -0.0907)
OKLCHoklch(48.82% 0.19 331.5)
XYZxyz(18.5377, 9.9218, 26.9200)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98248F #24982D
analogous
#672498 #98248F #982455
triadic
#98248F #8F9824 #248F98
tetradic
#98248F #986724 #24982D #245598
square
#98248F #986724 #24982D #245598
split-complementary
#98248F #559824 #249867
monochromatic
#350D32 #671860 #98248F #C930BE #D95ECF

Accessibility & contrast

On white

7.04
#98248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98248F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98248F#FFFFFF#000000##FFFFFF
##98248F1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E92
Deuteranopia (green-blind)
#4A5E8C
Tritanopia (blue-blind)
#9E3258
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98248f;
/* rgb */ color: rgb(152, 36, 143);
/* oklch */ color: oklch(48.8% 0.190 331.5);
Tailwind
colors: {
  custom: {
    50: '#ba6cb0',
    500: '#98248f',
    950: '#000000',
  },
}
SCSS
$custom: #98248f;
$custom-light: #ba6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#98248f",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 304.655,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48815,
    "c": 0.19031,
    "h": 331.5
  },
  "luminance": 0.0992
}

Semantic roles & 50–950 ramp

primary
#98248F
secondary
#5ABE62
accent
#E55043
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #98248F

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

Preview Lab → · Contrast checker → · Palette generator →

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