#98298D#98298D

#98298D is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.183 H 332.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#98298D
RGBrgb(152, 41, 141)
HSLhsl(306, 58%, 38%)
HSVhsv(306, 73%, 60%)
CMYKcmyk(0%, 73%, 7.2%, 40.4%)
CIE-LABlab(38.17, 56.52, -30.97)
CIE-LCHlch(38.17, 64.44, 331.28°)
OKLaboklab(49.12% 0.1624 -0.0851)
OKLCHoklch(49.12% 0.183 332.4)
XYZxyz(18.5496, 10.1859, 26.1832)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98298D #299834
analogous
#6B2998 #98298D #982955
triadic
#98298D #8D9829 #298D98
tetradic
#98298D #986B29 #299834 #295598
square
#98298D #986B29 #299834 #295598
split-complementary
#98298D #559829 #29986B
monochromatic
#380F34 #681C60 #98298D #C836BA #D666CB

Accessibility & contrast

On white

6.92
#98298D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98298D
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98298D#FFFFFF#000000##FFFFFF
##98298D1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#4D5F8A
Tritanopia (blue-blind)
#9F3558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98298d;
/* rgb */ color: rgb(152, 41, 141);
/* oklch */ color: oklch(49.1% 0.183 332.4);
Tailwind
colors: {
  custom: {
    50: '#ba6eaf',
    500: '#98298d',
    950: '#000000',
  },
}
SCSS
$custom: #98298d;
$custom-light: #ba6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#98298d",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 305.946,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.18333,
    "h": 332.4
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#98298D
secondary
#61BC6A
accent
#E15647
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98298D

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

Preview Lab → · Contrast checker → · Palette generator →

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