#98259A#98259A

#98259A is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.198 H 327.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#98259A
RGBrgb(152, 37, 154)
HSLhsl(299, 61%, 37%)
HSVhsv(299, 76%, 60%)
CMYKcmyk(1.3%, 76%, 0%, 39.6%)
CIE-LABlab(38.43, 59.98, -38.48)
CIE-LCHlch(38.43, 71.26, 327.32°)
OKLaboklab(49.54% 0.1664 -0.1068)
OKLCHoklch(49.54% 0.198 327.3)
XYZxyz(19.4429, 10.3330, 31.5360)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98259A #279A25
analogous
#5D259A #98259A #9A2562
triadic
#98259A #9A9825 #259A98
tetradic
#98259A #9A5D25 #279A25 #25629A
square
#98259A #9A5D25 #279A25 #25629A
split-complementary
#98259A #629A25 #259A5D
monochromatic
#370D37 #671969 #98259A #C931CB #D760D9

Accessibility & contrast

On white

6.85
#98259A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98259A
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98259A#FFFFFF#000000##FFFFFF
##98259A1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04519D
Deuteranopia (green-blind)
#446097
Tritanopia (blue-blind)
#9D395E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98259a;
/* rgb */ color: rgb(152, 37, 154);
/* oklch */ color: oklch(49.5% 0.198 327.3);
Tailwind
colors: {
  custom: {
    50: '#ba6db8',
    500: '#98259a',
    950: '#000000',
  },
}
SCSS
$custom: #98259a;
$custom-light: #ba6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#98259a",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 298.974,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49539,
    "c": 0.19773,
    "h": 327.3
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#98259A
secondary
#5EBE5D
accent
#E44346
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98259A

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

Preview Lab → · Contrast checker → · Palette generator →

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