#98259F#98259F

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

Color values

HEX#98259F
RGBrgb(152, 37, 159)
HSLhsl(297, 62%, 38%)
HSVhsv(297, 77%, 62%)
CMYKcmyk(4.4%, 76.7%, 0%, 37.6%)
CIE-LABlab(38.73, 60.83, -41.02)
CIE-LCHlch(38.73, 73.37, 326.01°)
OKLaboklab(49.85% 0.1662 -0.1142)
OKLCHoklch(49.85% 0.202 325.5)
XYZxyz(19.8680, 10.5031, 33.7750)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98259F #2C9F25
analogous
#5B259F #98259F #9F2569
triadic
#98259F #9F9825 #259F98
tetradic
#98259F #9F5B25 #2C9F25 #25699F
square
#98259F #9F5B25 #2C9F25 #25699F
split-complementary
#98259F #699F25 #259F5B
monochromatic
#390E3C #69196D #98259F #C632CF #D464DB

Accessibility & contrast

On white

6.77
#98259F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#98259F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98259F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98259F#FFFFFF#000000##FFFFFF
##98259F1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#41609C
Tritanopia (blue-blind)
#9C3B61
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98259f;
/* rgb */ color: rgb(152, 37, 159);
/* oklch */ color: oklch(49.8% 0.202 325.5);
Tailwind
colors: {
  custom: {
    50: '#ba6dbc',
    500: '#98259f',
    950: '#000000',
  },
}
SCSS
$custom: #98259f;
$custom-light: #ba6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#98259f",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 296.557,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49846,
    "c": 0.20167,
    "h": 325.5
  },
  "luminance": 0.10502
}

Semantic roles & 50–950 ramp

primary
#98259F
secondary
#65C05F
accent
#E5424C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98259F

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

Preview Lab → · Contrast checker → · Palette generator →

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