#98288A#98288A

#98288A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.182 H 333.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#98288A
RGBrgb(152, 40, 138)
HSLhsl(308, 58%, 38%)
HSVhsv(308, 74%, 60%)
CMYKcmyk(0%, 73.7%, 9.2%, 40.4%)
CIE-LABlab(37.90, 56.39, -29.57)
CIE-LCHlch(37.90, 63.67, 332.33°)
OKLaboklab(48.87% 0.1632 -0.081)
OKLCHoklch(48.87% 0.182 333.6)
XYZxyz(18.2953, 10.0295, 25.0122)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98288A #289836
analogous
#6E2898 #98288A #982852
triadic
#98288A #8A9828 #288A98
tetradic
#98288A #986E28 #289836 #285298
square
#98288A #986E28 #289836 #285298
split-complementary
#98288A #529828 #28986E
monochromatic
#370F32 #681B5E #98288A #C835B6 #D664C8

Accessibility & contrast

On white

6.99
#98288A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#98288A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98288A
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98288A#FFFFFF#000000##FFFFFF
##98288A1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#9F3356
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98288a;
/* rgb */ color: rgb(152, 40, 138);
/* oklch */ color: oklch(48.9% 0.182 333.6);
Tailwind
colors: {
  custom: {
    50: '#ba6dac',
    500: '#98288a',
    950: '#000000',
  },
}
SCSS
$custom: #98288a;
$custom-light: #ba6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#98288a",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 307.5,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48868,
    "c": 0.18221,
    "h": 333.6
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#98288A
secondary
#60BC6B
accent
#E25A46
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98288A

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

Preview Lab → · Contrast checker → · Palette generator →

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