#98299D#98299D

#98299D is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.196 H 326.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#98299D
RGBrgb(152, 41, 157)
HSLhsl(297, 59%, 39%)
HSVhsv(297, 74%, 62%)
CMYKcmyk(3.2%, 73.9%, 0%, 38.4%)
CIE-LABlab(39.07, 59.19, -39.28)
CIE-LCHlch(39.07, 71.04, 326.43°)
OKLaboklab(50.05% 0.1627 -0.1092)
OKLCHoklch(50.05% 0.196 326.1)
XYZxyz(19.8272, 10.6969, 32.9122)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98299D #2E9D29
analogous
#5E299D #98299D #9D2968
triadic
#98299D #9D9829 #299D98
tetradic
#98299D #9D5E29 #2E9D29 #29689D
square
#98299D #9D5E29 #2E9D29 #29689D
split-complementary
#98299D #689D29 #299D5E
monochromatic
#3A103C #691C6C #98299D #C538CB #D369D8

Accessibility & contrast

On white

6.69
#98299D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#98299D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98299D
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98299D#FFFFFF#000000##FFFFFF
##98299D1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0753A0
Deuteranopia (green-blind)
#44619A
Tritanopia (blue-blind)
#9C3C61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98299d;
/* rgb */ color: rgb(152, 41, 157);
/* oklch */ color: oklch(50.0% 0.196 326.1);
Tailwind
colors: {
  custom: {
    50: '#ba6fba',
    500: '#98299d',
    950: '#000000',
  },
}
SCSS
$custom: #98299d;
$custom-light: #ba6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#98299d",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 297.414,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50046,
    "c": 0.19591,
    "h": 326.1
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#98299D
secondary
#68BE64
accent
#E2464D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98299D

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

Preview Lab → · Contrast checker → · Palette generator →

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