#98259B#98259B

#98259B is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.199 H 326.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#98259B
RGBrgb(152, 37, 155)
HSLhsl(298, 61%, 38%)
HSVhsv(298, 76%, 61%)
CMYKcmyk(1.9%, 76.1%, 0%, 39.2%)
CIE-LABlab(38.49, 60.15, -38.99)
CIE-LCHlch(38.49, 71.68, 327.05°)
OKLaboklab(49.6% 0.1664 -0.1083)
OKLCHoklch(49.6% 0.199 326.9)
XYZxyz(19.5265, 10.3665, 31.9765)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98259B #289B25
analogous
#5D259B #98259B #9B2563
triadic
#98259B #9B9825 #259B98
tetradic
#98259B #9B5D25 #289B25 #25639B
square
#98259B #9B5D25 #289B25 #25639B
split-complementary
#98259B #639B25 #259B5D
monochromatic
#370D38 #68196A #98259B #C831CC #D661D9

Accessibility & contrast

On white

6.83
#98259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#98259B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98259B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98259B#FFFFFF#000000##FFFFFF
##98259B1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#436098
Tritanopia (blue-blind)
#9C395F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98259b;
/* rgb */ color: rgb(152, 37, 155);
/* oklch */ color: oklch(49.6% 0.199 326.9);
Tailwind
colors: {
  custom: {
    50: '#ba6db9',
    500: '#98259b',
    950: '#000000',
  },
}
SCSS
$custom: #98259b;
$custom-light: #ba6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#98259b",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 298.475,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.496,
    "c": 0.19851,
    "h": 326.9
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#98259B
secondary
#60BF5D
accent
#E54347
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98259B

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

Preview Lab → · Contrast checker → · Palette generator →

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