#98339A#98339A

#98339A is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.181 H 327.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#98339A
RGBrgb(152, 51, 154)
HSLhsl(299, 50%, 40%)
HSVhsv(299, 67%, 60%)
CMYKcmyk(1.3%, 66.9%, 0%, 39.6%)
CIE-LABlab(40.21, 54.94, -35.66)
CIE-LCHlch(40.21, 65.50, 327.02°)
OKLaboklab(50.81% 0.1522 -0.0987)
OKLCHoklch(50.81% 0.181 327)
XYZxyz(19.9651, 11.3775, 31.7101)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98339A #359A33
analogous
#64339A #98339A #9A3368
triadic
#98339A #9A9833 #339A98
tetradic
#98339A #9A6433 #359A33 #33689A
square
#98339A #9A6433 #359A33 #33689A
split-complementary
#98339A #689A33 #339A64
monochromatic
#3D153E #6B246C #98339A #C048C2 #D076D2

Accessibility & contrast

On white

6.41
#98339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#98339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98339A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98339A#FFFFFF#000000##FFFFFF
##98339A1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569D
Deuteranopia (green-blind)
#4B6397
Tritanopia (blue-blind)
#9C4262
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98339a;
/* rgb */ color: rgb(152, 51, 154);
/* oklch */ color: oklch(50.8% 0.181 327.0);
Tailwind
colors: {
  custom: {
    50: '#b973b8',
    500: '#98339a',
    950: '#000000',
  },
}
SCSS
$custom: #98339a;
$custom-light: #b973b8;
$custom-dark: #000000;
JSON
{
  "hex": "#98339a",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 298.835,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50813,
    "c": 0.18143,
    "h": 327
  },
  "luminance": 0.11376
}

Semantic roles & 50–950 ramp

primary
#98339A
secondary
#70BA6F
accent
#DA4E51
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #98339A

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

Preview Lab → · Contrast checker → · Palette generator →

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