#98298E#98298E

#98298E is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.184 H 331.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#98298E
RGBrgb(152, 41, 142)
HSLhsl(305, 58%, 38%)
HSVhsv(305, 73%, 60%)
CMYKcmyk(0%, 73%, 6.6%, 40.4%)
CIE-LABlab(38.23, 56.68, -31.50)
CIE-LCHlch(38.23, 64.84, 330.94°)
OKLaboklab(49.18% 0.1625 -0.0866)
OKLCHoklch(49.18% 0.184 331.9)
XYZxyz(18.6243, 10.2158, 26.5769)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98298E #299833
analogous
#6A2998 #98298E #982957
triadic
#98298E #8E9829 #298E98
tetradic
#98298E #986A29 #299833 #295798
square
#98298E #986A29 #299833 #295798
split-complementary
#98298E #579829 #29986A
monochromatic
#380F34 #681C61 #98298E #C836BB #D666CC

Accessibility & contrast

On white

6.90
#98298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#98298E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98298E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98298E#FFFFFF#000000##FFFFFF
##98298E1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#9E3559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98298e;
/* rgb */ color: rgb(152, 41, 142);
/* oklch */ color: oklch(49.2% 0.184 331.9);
Tailwind
colors: {
  custom: {
    50: '#ba6eaf',
    500: '#98298e',
    950: '#000000',
  },
}
SCSS
$custom: #98298e;
$custom-light: #ba6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#98298e",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 305.405,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49175,
    "c": 0.1841,
    "h": 331.9
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

primary
#98298E
secondary
#61BC69
accent
#E15547
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98298E

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

Preview Lab → · Contrast checker → · Palette generator →

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