#98248B#98248B

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

Color values

HEX#98248B
RGBrgb(152, 36, 139)
HSLhsl(307, 62%, 37%)
HSVhsv(307, 76%, 60%)
CMYKcmyk(0%, 76.3%, 8.6%, 40.4%)
CIE-LABlab(37.49, 57.86, -30.82)
CIE-LCHlch(37.49, 65.56, 331.95°)
OKLaboklab(48.59% 0.1671 -0.0846)
OKLCHoklch(48.59% 0.187 333.1)
XYZxyz(18.2401, 9.8028, 25.3526)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98248B #249831
analogous
#6B2498 #98248B #982451
triadic
#98248B #8B9824 #248B98
tetradic
#98248B #986B24 #249831 #245198
square
#98248B #986B24 #249831 #245198
split-complementary
#98248B #519824 #24986B
monochromatic
#350D31 #67185E #98248B #C930B8 #D95ECB

Accessibility & contrast

On white

7.09
#98248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#98248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98248B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98248B#FFFFFF#000000##FFFFFF
##98248B1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#9F3056
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98248b;
/* rgb */ color: rgb(152, 36, 139);
/* oklch */ color: oklch(48.6% 0.187 333.1);
Tailwind
colors: {
  custom: {
    50: '#ba6cad',
    500: '#98248b',
    950: '#000000',
  },
}
SCSS
$custom: #98248b;
$custom-light: #ba6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#98248b",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 306.724,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48591,
    "c": 0.18733,
    "h": 333.1
  },
  "luminance": 0.09801
}

Semantic roles & 50–950 ramp

primary
#98248B
secondary
#5ABE65
accent
#E55543
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98248B

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

Preview Lab → · Contrast checker → · Palette generator →

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