#98299C#98299C

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

Color values

HEX#98299C
RGBrgb(152, 41, 156)
HSLhsl(298, 58%, 39%)
HSVhsv(298, 74%, 61%)
CMYKcmyk(2.6%, 73.7%, 0%, 38.8%)
CIE-LABlab(39.01, 59.01, -38.77)
CIE-LCHlch(39.01, 70.61, 326.69°)
OKLaboklab(49.99% 0.1627 -0.1077)
OKLCHoklch(49.99% 0.195 326.5)
XYZxyz(19.7422, 10.6629, 32.4644)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98299C #2D9C29
analogous
#5E299C #98299C #9C2966
triadic
#98299C #9C9829 #299C98
tetradic
#98299C #9C5E29 #2D9C29 #29669C
square
#98299C #9C5E29 #2D9C29 #29669C
split-complementary
#98299C #669C29 #299C5E
monochromatic
#3A103B #691C6C #98299C #C538CB #D368D7

Accessibility & contrast

On white

6.70
#98299C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98299C
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98299C#FFFFFF#000000##FFFFFF
##98299C1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A539F
Deuteranopia (green-blind)
#446199
Tritanopia (blue-blind)
#9C3C60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98299c;
/* rgb */ color: rgb(152, 41, 156);
/* oklch */ color: oklch(50.0% 0.195 326.5);
Tailwind
colors: {
  custom: {
    50: '#ba6fba',
    500: '#98299c',
    950: '#000000',
  },
}
SCSS
$custom: #98299c;
$custom-light: #ba6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#98299c",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 297.913,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49986,
    "c": 0.1951,
    "h": 326.5
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#98299C
secondary
#66BE63
accent
#E2464C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98299C

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

Preview Lab → · Contrast checker → · Palette generator →

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