#98289B#98289B

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

Color values

HEX#98289B
RGBrgb(152, 40, 155)
HSLhsl(298, 59%, 38%)
HSVhsv(298, 74%, 61%)
CMYKcmyk(1.9%, 74.2%, 0%, 39.2%)
CIE-LABlab(38.83, 59.18, -38.45)
CIE-LCHlch(38.83, 70.57, 326.99°)
OKLaboklab(49.84% 0.1637 -0.1067)
OKLCHoklch(49.84% 0.195 326.9)
XYZxyz(19.6238, 10.5609, 32.0089)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98289B #2B9B28
analogous
#5E289B #98289B #9B2864
triadic
#98289B #9B9828 #289B98
tetradic
#98289B #9B5E28 #2B9B28 #28649B
square
#98289B #9B5E28 #2B9B28 #28649B
split-complementary
#98289B #649B28 #289B5E
monochromatic
#390F3A #681B6A #98289B #C735CB #D566D7

Accessibility & contrast

On white

6.75
#98289B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98289B
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98289B#FFFFFF#000000##FFFFFF
##98289B1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A529E
Deuteranopia (green-blind)
#456098
Tritanopia (blue-blind)
#9C3B60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98289b;
/* rgb */ color: rgb(152, 40, 155);
/* oklch */ color: oklch(49.8% 0.195 326.9);
Tailwind
colors: {
  custom: {
    50: '#ba6eb9',
    500: '#98289b',
    950: '#000000',
  },
}
SCSS
$custom: #98289b;
$custom-light: #ba6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#98289b",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 298.435,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49841,
    "c": 0.19538,
    "h": 326.9
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#98289B
secondary
#64BD61
accent
#E2464A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98289B

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

Preview Lab → · Contrast checker → · Palette generator →

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