#98288D#98288D

#98288D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.184 H 332.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#98288D
RGBrgb(152, 40, 141)
HSLhsl(306, 58%, 38%)
HSVhsv(306, 74%, 60%)
CMYKcmyk(0%, 73.7%, 7.2%, 40.4%)
CIE-LABlab(38.05, 56.86, -31.16)
CIE-LCHlch(38.05, 64.84, 331.28°)
OKLaboklab(49.03% 0.1634 -0.0856)
OKLCHoklch(49.03% 0.184 332.3)
XYZxyz(18.5155, 10.1176, 26.1719)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98288D #289833
analogous
#6B2898 #98288D #982855
triadic
#98288D #8D9828 #288D98
tetradic
#98288D #986B28 #289833 #285598
square
#98288D #986B28 #289833 #285598
split-complementary
#98288D #559828 #28986B
monochromatic
#370F33 #681B60 #98288D #C835BA #D664CB

Accessibility & contrast

On white

6.95
#98288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#98288D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98288D
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98288D#FFFFFF#000000##FFFFFF
##98288D1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#9F3458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98288d;
/* rgb */ color: rgb(152, 40, 141);
/* oklch */ color: oklch(49.0% 0.184 332.3);
Tailwind
colors: {
  custom: {
    50: '#ba6eaf',
    500: '#98288d',
    950: '#000000',
  },
}
SCSS
$custom: #98288d;
$custom-light: #ba6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#98288d",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 305.893,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49032,
    "c": 0.18447,
    "h": 332.3
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#98288D
secondary
#60BC69
accent
#E25646
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98288D

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

Preview Lab → · Contrast checker → · Palette generator →

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