#98299A#98299A

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

Color values

HEX#98299A
RGBrgb(152, 41, 154)
HSLhsl(299, 58%, 38%)
HSVhsv(299, 73%, 60%)
CMYKcmyk(1.3%, 73.4%, 0%, 39.6%)
CIE-LABlab(38.89, 58.67, -37.75)
CIE-LCHlch(38.89, 69.77, 327.24°)
OKLaboklab(49.87% 0.1627 -0.1047)
OKLCHoklch(49.87% 0.193 327.2)
XYZxyz(19.5743, 10.5957, 31.5798)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98299A #2B9A29
analogous
#5F299A #98299A #9A2963
triadic
#98299A #9A9829 #299A98
tetradic
#98299A #9A5F29 #2B9A29 #29639A
square
#98299A #9A5F29 #2B9A29 #29639A
split-complementary
#98299A #639A29 #299A5F
monochromatic
#390F39 #681C6A #98299A #C737CA #D567D7

Accessibility & contrast

On white

6.73
#98299A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#98299A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98299A
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98299A#FFFFFF#000000##FFFFFF
##98299A1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F539D
Deuteranopia (green-blind)
#466097
Tritanopia (blue-blind)
#9C3B5F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98299a;
/* rgb */ color: rgb(152, 41, 154);
/* oklch */ color: oklch(49.9% 0.193 327.2);
Tailwind
colors: {
  custom: {
    50: '#ba6fb8',
    500: '#98299a',
    950: '#000000',
  },
}
SCSS
$custom: #98299a;
$custom-light: #ba6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#98299a",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 298.938,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49866,
    "c": 0.19349,
    "h": 327.2
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#98299A
secondary
#64BD62
accent
#E14749
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98299A

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

Preview Lab → · Contrast checker → · Palette generator →

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