#98259E#98259E

#98259E is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.201 H 325.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#98259E
RGBrgb(152, 37, 158)
HSLhsl(297, 62%, 38%)
HSVhsv(297, 77%, 62%)
CMYKcmyk(3.8%, 76.6%, 0%, 38%)
CIE-LABlab(38.67, 60.66, -40.52)
CIE-LCHlch(38.67, 72.95, 326.26°)
OKLaboklab(49.78% 0.1663 -0.1127)
OKLCHoklch(49.78% 0.201 325.9)
XYZxyz(19.7816, 10.4685, 33.3198)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98259E #2B9E25
analogous
#5B259E #98259E #9E2567
triadic
#98259E #9E9825 #259E98
tetradic
#98259E #9E5B25 #2B9E25 #25679E
square
#98259E #9E5B25 #2B9E25 #25679E
split-complementary
#98259E #679E25 #259E5B
monochromatic
#390E3B #68196C #98259E #C731CF #D563DA

Accessibility & contrast

On white

6.79
#98259E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#98259E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98259E
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98259E#FFFFFF#000000##FFFFFF
##98259E1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#41609B
Tritanopia (blue-blind)
#9C3B60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98259e;
/* rgb */ color: rgb(152, 37, 158);
/* oklch */ color: oklch(49.8% 0.201 325.9);
Tailwind
colors: {
  custom: {
    50: '#ba6dbb',
    500: '#98259e',
    950: '#000000',
  },
}
SCSS
$custom: #98259e;
$custom-light: #ba6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#98259e",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 297.025,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49784,
    "c": 0.20088,
    "h": 325.9
  },
  "luminance": 0.10467
}

Semantic roles & 50–950 ramp

primary
#98259E
secondary
#64C05F
accent
#E5434B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98259E

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

Preview Lab → · Contrast checker → · Palette generator →

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