#98339C#98339C

#98339C is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.183 H 326.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#98339C
RGBrgb(152, 51, 156)
HSLhsl(298, 51%, 41%)
HSVhsv(298, 67%, 61%)
CMYKcmyk(2.6%, 67.3%, 0%, 38.8%)
CIE-LABlab(40.32, 55.30, -36.69)
CIE-LCHlch(40.32, 66.36, 326.44°)
OKLaboklab(50.93% 0.1523 -0.1017)
OKLCHoklch(50.93% 0.183 326.3)
XYZxyz(20.1331, 11.4447, 32.5947)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98339C #379C33
analogous
#63339C #98339C #9C336B
triadic
#98339C #9C9833 #339C98
tetradic
#98339C #9C6333 #379C33 #336B9C
square
#98339C #9C6333 #379C33 #336B9C
split-complementary
#98339C #6B9C33 #339C63
monochromatic
#3E1540 #6B246E #98339C #BF49C3 #CF77D3

Accessibility & contrast

On white

6.39
#98339C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#98339C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98339C
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98339C#FFFFFF#000000##FFFFFF
##98339C1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20579F
Deuteranopia (green-blind)
#4A6399
Tritanopia (blue-blind)
#9C4263
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98339c;
/* rgb */ color: rgb(152, 51, 156);
/* oklch */ color: oklch(50.9% 0.183 326.3);
Tailwind
colors: {
  custom: {
    50: '#b973b9',
    500: '#98339c',
    950: '#000000',
  },
}
SCSS
$custom: #98339c;
$custom-light: #b973b9;
$custom-dark: #000000;
JSON
{
  "hex": "#98339c",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 297.714,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50928,
    "c": 0.18313,
    "h": 326.3
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#98339C
secondary
#73BB70
accent
#DA4E53
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #98339C

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

Preview Lab → · Contrast checker → · Palette generator →

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