#98289D#98289D

#98289D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.197 H 326.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#98289D
RGBrgb(152, 40, 157)
HSLhsl(297, 59%, 39%)
HSVhsv(297, 75%, 62%)
CMYKcmyk(3.2%, 74.5%, 0%, 38.4%)
CIE-LABlab(38.95, 59.52, -39.47)
CIE-LCHlch(38.95, 71.42, 326.45°)
OKLaboklab(49.96% 0.1636 -0.1097)
OKLCHoklch(49.96% 0.197 326.2)
XYZxyz(19.7931, 10.6286, 32.9008)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98289D #2D9D28
analogous
#5D289D #98289D #9D2867
triadic
#98289D #9D9828 #289D98
tetradic
#98289D #9D5D28 #2D9D28 #28679D
square
#98289D #9D5D28 #2D9D28 #28679D
split-complementary
#98289D #679D28 #289D5D
monochromatic
#3A0F3B #691C6C #98289D #C536CC #D367D8

Accessibility & contrast

On white

6.72
#98289D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#98289D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98289D
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98289D#FFFFFF#000000##FFFFFF
##98289D1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0453A0
Deuteranopia (green-blind)
#43609A
Tritanopia (blue-blind)
#9C3C61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98289d;
/* rgb */ color: rgb(152, 40, 157);
/* oklch */ color: oklch(50.0% 0.197 326.2);
Tailwind
colors: {
  custom: {
    50: '#ba6eba',
    500: '#98289d',
    950: '#000000',
  },
}
SCSS
$custom: #98289d;
$custom-light: #ba6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#98289d",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 297.436,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49963,
    "c": 0.19699,
    "h": 326.2
  },
  "luminance": 0.10627
}

Semantic roles & 50–950 ramp

primary
#98289D
secondary
#66BE62
accent
#E3454C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98289D

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

Preview Lab → · Contrast checker → · Palette generator →

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