#98339D#98339D

#98339D is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.184 H 325.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#98339D
RGBrgb(152, 51, 157)
HSLhsl(297, 51%, 41%)
HSVhsv(297, 68%, 62%)
CMYKcmyk(3.2%, 67.5%, 0%, 38.4%)
CIE-LABlab(40.38, 55.48, -37.20)
CIE-LCHlch(40.38, 66.79, 326.15°)
OKLaboklab(50.99% 0.1523 -0.1032)
OKLCHoklch(50.99% 0.184 325.9)
XYZxyz(20.2181, 11.4787, 33.0424)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98339D #389D33
analogous
#63339D #98339D #9D336D
triadic
#98339D #9D9833 #339D98
tetradic
#98339D #9D6333 #389D33 #336D9D
square
#98339D #9D6333 #389D33 #336D9D
split-complementary
#98339D #6D9D33 #339D63
monochromatic
#3F1541 #6B246F #98339D #BE49C4 #CF77D3

Accessibility & contrast

On white

6.37
#98339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#98339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98339D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98339D#FFFFFF#000000##FFFFFF
##98339D1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F57A0
Deuteranopia (green-blind)
#49649A
Tritanopia (blue-blind)
#9C4364
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98339d;
/* rgb */ color: rgb(152, 51, 157);
/* oklch */ color: oklch(51.0% 0.184 325.9);
Tailwind
colors: {
  custom: {
    50: '#b973ba',
    500: '#98339d',
    950: '#000000',
  },
}
SCSS
$custom: #98339d;
$custom-light: #b973ba;
$custom-dark: #000000;
JSON
{
  "hex": "#98339d",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 297.17,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50986,
    "c": 0.18398,
    "h": 325.9
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#98339D
secondary
#74BB70
accent
#DA4D54
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #98339D

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

Preview Lab → · Contrast checker → · Palette generator →

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