#98288C#98288C

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

Color values

HEX#98288C
RGBrgb(152, 40, 140)
HSLhsl(306, 58%, 38%)
HSVhsv(306, 74%, 60%)
CMYKcmyk(0%, 73.7%, 7.9%, 40.4%)
CIE-LABlab(38.00, 56.70, -30.63)
CIE-LCHlch(38.00, 64.45, 331.62°)
OKLaboklab(48.98% 0.1634 -0.0841)
OKLCHoklch(48.98% 0.184 332.8)
XYZxyz(18.4414, 10.0880, 25.7818)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98288C #289834
analogous
#6C2898 #98288C #982854
triadic
#98288C #8C9828 #288C98
tetradic
#98288C #986C28 #289834 #285498
square
#98288C #986C28 #289834 #285498
split-complementary
#98288C #549828 #28986C
monochromatic
#370F33 #681B5F #98288C #C835B9 #D664CA

Accessibility & contrast

On white

6.96
#98288C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98288C
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98288C#FFFFFF#000000##FFFFFF
##98288C1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8F
Deuteranopia (green-blind)
#4D5F89
Tritanopia (blue-blind)
#9F3457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98288c;
/* rgb */ color: rgb(152, 40, 140);
/* oklch */ color: oklch(49.0% 0.184 332.8);
Tailwind
colors: {
  custom: {
    50: '#ba6eae',
    500: '#98288c',
    950: '#000000',
  },
}
SCSS
$custom: #98288c;
$custom-light: #ba6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#98288c",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 306.429,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48977,
    "c": 0.18372,
    "h": 332.8
  },
  "luminance": 0.10086
}

Semantic roles & 50–950 ramp

primary
#98288C
secondary
#60BC6A
accent
#E25746
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98288C

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

Preview Lab → · Contrast checker → · Palette generator →

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