#98299E#98299E

#98299E is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.197 H 325.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#98299E
RGBrgb(152, 41, 158)
HSLhsl(297, 59%, 39%)
HSVhsv(297, 74%, 62%)
CMYKcmyk(3.8%, 74.1%, 0%, 38%)
CIE-LABlab(39.12, 59.36, -39.79)
CIE-LCHlch(39.12, 71.46, 326.16°)
OKLaboklab(50.11% 0.1626 -0.1107)
OKLCHoklch(50.11% 0.197 325.8)
XYZxyz(19.9130, 10.7312, 33.3636)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98299E #2F9E29
analogous
#5E299E #98299E #9E296A
triadic
#98299E #9E9829 #299E98
tetradic
#98299E #9E5E29 #2F9E29 #296A9E
square
#98299E #9E5E29 #2F9E29 #296A9E
split-complementary
#98299E #6A9E29 #299E5E
monochromatic
#3B103D #691C6D #98299E #C439CC #D269D8

Accessibility & contrast

On white

6.68
#98299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#98299E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98299E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98299E#FFFFFF#000000##FFFFFF
##98299E1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0453A1
Deuteranopia (green-blind)
#43619B
Tritanopia (blue-blind)
#9C3D61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98299e;
/* rgb */ color: rgb(152, 41, 158);
/* oklch */ color: oklch(50.1% 0.197 325.8);
Tailwind
colors: {
  custom: {
    50: '#ba6fbb',
    500: '#98299e',
    950: '#000000',
  },
}
SCSS
$custom: #98299e;
$custom-light: #ba6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#98299e",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 296.923,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50107,
    "c": 0.19672,
    "h": 325.8
  },
  "luminance": 0.1073
}

Semantic roles & 50–950 ramp

primary
#98299E
secondary
#69BF64
accent
#E2464E
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98299E

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

Preview Lab → · Contrast checker → · Palette generator →

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