#98299F#98299F

#98299F is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.198 H 325.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#98299F
RGBrgb(152, 41, 159)
HSLhsl(296, 59%, 39%)
HSVhsv(296, 74%, 62%)
CMYKcmyk(4.4%, 74.2%, 0%, 37.6%)
CIE-LABlab(39.18, 59.53, -40.30)
CIE-LCHlch(39.18, 71.89, 325.90°)
OKLaboklab(50.17% 0.1626 -0.1121)
OKLCHoklch(50.17% 0.198 325.4)
XYZxyz(19.9994, 10.7658, 33.8188)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98299F #309F29
analogous
#5D299F #98299F #9F296B
triadic
#98299F #9F9829 #299F98
tetradic
#98299F #9F5D29 #309F29 #296B9F
square
#98299F #9F5D29 #309F29 #296B9F
split-complementary
#98299F #6B9F29 #299F5D
monochromatic
#3B103E #691C6E #98299F #C339CC #D26AD9

Accessibility & contrast

On white

6.66
#98299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98299F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98299F#FFFFFF#000000##FFFFFF
##98299F1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A2
Deuteranopia (green-blind)
#43619C
Tritanopia (blue-blind)
#9C3D62
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98299f;
/* rgb */ color: rgb(152, 41, 159);
/* oklch */ color: oklch(50.2% 0.198 325.4);
Tailwind
colors: {
  custom: {
    50: '#ba6fbc',
    500: '#98299f',
    950: '#000000',
  },
}
SCSS
$custom: #98299f;
$custom-light: #ba6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#98299f",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 296.441,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50169,
    "c": 0.19753,
    "h": 325.4
  },
  "luminance": 0.10764
}

Semantic roles & 50–950 ramp

primary
#98299F
secondary
#6ABF65
accent
#E2464F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98299F

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

Preview Lab → · Contrast checker → · Palette generator →

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