#98289E#98289E

#98289E is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.198 H 325.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#98289E
RGBrgb(152, 40, 158)
HSLhsl(297, 60%, 39%)
HSVhsv(297, 75%, 62%)
CMYKcmyk(3.8%, 74.7%, 0%, 38%)
CIE-LABlab(39.01, 59.69, -39.98)
CIE-LCHlch(39.01, 71.85, 326.19°)
OKLaboklab(50.02% 0.1636 -0.1112)
OKLCHoklch(50.02% 0.198 325.8)
XYZxyz(19.8788, 10.6629, 33.3522)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98289E #2E9E28
analogous
#5D289E #98289E #9E2869
triadic
#98289E #9E9828 #289E98
tetradic
#98289E #9E5D28 #2E9E28 #28699E
square
#98289E #9E5D28 #2E9E28 #28699E
split-complementary
#98289E #699E28 #289E5D
monochromatic
#3A0F3C #691C6D #98289E #C537CC #D368D9

Accessibility & contrast

On white

6.70
#98289E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98289E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98289E#FFFFFF#000000##FFFFFF
##98289E1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#43619B
Tritanopia (blue-blind)
#9C3C61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98289e;
/* rgb */ color: rgb(152, 40, 158);
/* oklch */ color: oklch(50.0% 0.198 325.8);
Tailwind
colors: {
  custom: {
    50: '#ba6ebb',
    500: '#98289e',
    950: '#000000',
  },
}
SCSS
$custom: #98289e;
$custom-light: #ba6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#98289e",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 296.949,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50024,
    "c": 0.19778,
    "h": 325.8
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#98289E
secondary
#68BF63
accent
#E3454D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98289E

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

Preview Lab → · Contrast checker → · Palette generator →

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