#98339F#98339F

#98339F is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.186 H 325.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#98339F
RGBrgb(152, 51, 159)
HSLhsl(296, 51%, 41%)
HSVhsv(296, 68%, 62%)
CMYKcmyk(4.4%, 67.9%, 0%, 37.6%)
CIE-LABlab(40.49, 55.84, -38.23)
CIE-LCHlch(40.49, 67.67, 325.60°)
OKLaboklab(51.1% 0.1524 -0.1062)
OKLCHoklch(51.1% 0.186 325.1)
XYZxyz(20.3903, 11.5475, 33.9491)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98339F #3A9F33
analogous
#62339F #98339F #9F3370
triadic
#98339F #9F9833 #339F98
tetradic
#98339F #9F6233 #3A9F33 #33709F
square
#98339F #9F6233 #3A9F33 #33709F
split-complementary
#98339F #709F33 #339F62
monochromatic
#3F1542 #6C2471 #98339F #BD4AC5 #CE79D4

Accessibility & contrast

On white

6.35
#98339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#98339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98339F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98339F#FFFFFF#000000##FFFFFF
##98339F1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A2
Deuteranopia (green-blind)
#48649C
Tritanopia (blue-blind)
#9B4465
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98339f;
/* rgb */ color: rgb(152, 51, 159);
/* oklch */ color: oklch(51.1% 0.186 325.1);
Tailwind
colors: {
  custom: {
    50: '#b973bc',
    500: '#98339f',
    950: '#000000',
  },
}
SCSS
$custom: #98339f;
$custom-light: #b973bc;
$custom-dark: #000000;
JSON
{
  "hex": "#98339f",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 296.111,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51104,
    "c": 0.18569,
    "h": 325.1
  },
  "luminance": 0.11546
}

Semantic roles & 50–950 ramp

primary
#98339F
secondary
#76BC71
accent
#DB4D56
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #98339F

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

Preview Lab → · Contrast checker → · Palette generator →

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