#98259D#98259D

#98259D is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.200 H 326.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#98259D
RGBrgb(152, 37, 157)
HSLhsl(298, 62%, 38%)
HSVhsv(298, 76%, 62%)
CMYKcmyk(3.2%, 76.4%, 0%, 38.4%)
CIE-LABlab(38.61, 60.49, -40.01)
CIE-LCHlch(38.61, 72.52, 326.52°)
OKLaboklab(49.72% 0.1663 -0.1112)
OKLCHoklch(49.72% 0.2 326.2)
XYZxyz(19.6959, 10.4342, 32.8684)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98259D #2A9D25
analogous
#5C259D #98259D #9D2566
triadic
#98259D #9D9825 #259D98
tetradic
#98259D #9D5C25 #2A9D25 #25669D
square
#98259D #9D5C25 #2A9D25 #25669D
split-complementary
#98259D #669D25 #259D5C
monochromatic
#380E3A #68196B #98259D #C831CE #D562DA

Accessibility & contrast

On white

6.80
#98259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98259D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98259D#FFFFFF#000000##FFFFFF
##98259D1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#42609A
Tritanopia (blue-blind)
#9C3A60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98259d;
/* rgb */ color: rgb(152, 37, 157);
/* oklch */ color: oklch(49.7% 0.200 326.2);
Tailwind
colors: {
  custom: {
    50: '#ba6dba',
    500: '#98259d',
    950: '#000000',
  },
}
SCSS
$custom: #98259d;
$custom-light: #ba6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#98259d",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 297.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49722,
    "c": 0.20008,
    "h": 326.2
  },
  "luminance": 0.10433
}

Semantic roles & 50–950 ramp

primary
#98259D
secondary
#62BF5E
accent
#E5434A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98259D

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

Preview Lab → · Contrast checker → · Palette generator →

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