#98299B#98299B

#98299B is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.194 H 326.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#98299B
RGBrgb(152, 41, 155)
HSLhsl(298, 58%, 38%)
HSVhsv(298, 74%, 61%)
CMYKcmyk(1.9%, 73.5%, 0%, 39.2%)
CIE-LABlab(38.95, 58.84, -38.26)
CIE-LCHlch(38.95, 70.19, 326.97°)
OKLaboklab(49.93% 0.1627 -0.1062)
OKLCHoklch(49.93% 0.194 326.9)
XYZxyz(19.6579, 10.6292, 32.0202)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98299B #2C9B29
analogous
#5F299B #98299B #9B2965
triadic
#98299B #9B9829 #299B98
tetradic
#98299B #9B5F29 #2C9B29 #29659B
square
#98299B #9B5F29 #2C9B29 #29659B
split-complementary
#98299B #659B29 #299B5F
monochromatic
#390F3A #691C6B #98299B #C637CA #D467D7

Accessibility & contrast

On white

6.72
#98299B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#98299B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98299B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98299B#FFFFFF#000000##FFFFFF
##98299B1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D539E
Deuteranopia (green-blind)
#456198
Tritanopia (blue-blind)
#9C3B60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98299b;
/* rgb */ color: rgb(152, 41, 155);
/* oklch */ color: oklch(49.9% 0.194 326.9);
Tailwind
colors: {
  custom: {
    50: '#ba6fb9',
    500: '#98299b',
    950: '#000000',
  },
}
SCSS
$custom: #98299b;
$custom-light: #ba6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#98299b",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 298.421,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49926,
    "c": 0.1943,
    "h": 326.9
  },
  "luminance": 0.10628
}

Semantic roles & 50–950 ramp

primary
#98299B
secondary
#65BD63
accent
#E1464A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98299B

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

Preview Lab → · Contrast checker → · Palette generator →

#98299B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva