#98289A#98289A

#98289A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.195 H 327.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#98289A
RGBrgb(152, 40, 154)
HSLhsl(299, 59%, 38%)
HSVhsv(299, 74%, 60%)
CMYKcmyk(1.3%, 74%, 0%, 39.6%)
CIE-LABlab(38.77, 59.01, -37.94)
CIE-LCHlch(38.77, 70.15, 327.26°)
OKLaboklab(49.78% 0.1637 -0.1052)
OKLCHoklch(49.78% 0.195 327.3)
XYZxyz(19.5401, 10.5275, 31.5684)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98289A #2A9A28
analogous
#5F289A #98289A #9A2863
triadic
#98289A #9A9828 #289A98
tetradic
#98289A #9A5F28 #2A9A28 #28639A
square
#98289A #9A5F28 #2A9A28 #28639A
split-complementary
#98289A #639A28 #289A5F
monochromatic
#380F39 #681B69 #98289A #C835CA #D565D7

Accessibility & contrast

On white

6.76
#98289A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#98289A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98289A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98289A#FFFFFF#000000##FFFFFF
##98289A1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D529D
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#9D3A5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98289a;
/* rgb */ color: rgb(152, 40, 154);
/* oklch */ color: oklch(49.8% 0.195 327.3);
Tailwind
colors: {
  custom: {
    50: '#ba6eb8',
    500: '#98289a',
    950: '#000000',
  },
}
SCSS
$custom: #98289a;
$custom-light: #ba6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#98289a",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 298.947,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49781,
    "c": 0.19459,
    "h": 327.3
  },
  "luminance": 0.10526
}

Semantic roles & 50–950 ramp

primary
#98289A
secondary
#62BD61
accent
#E24649
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98289A

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

Preview Lab → · Contrast checker → · Palette generator →

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