#98319F#98319F

#98319F is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.188 H 325.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#98319F
RGBrgb(152, 49, 159)
HSLhsl(296, 53%, 41%)
HSVhsv(296, 69%, 62%)
CMYKcmyk(4.4%, 69.2%, 0%, 37.6%)
CIE-LABlab(40.21, 56.62, -38.67)
CIE-LCHlch(40.21, 68.57, 325.67°)
OKLaboklab(50.9% 0.1545 -0.1074)
OKLCHoklch(50.9% 0.188 325.2)
XYZxyz(20.3047, 11.3765, 33.9206)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98319F #389F31
analogous
#61319F #98319F #9F316F
triadic
#98319F #9F9831 #319F98
tetradic
#98319F #9F6131 #389F31 #316F9F
square
#98319F #9F6131 #389F31 #316F9F
split-complementary
#98319F #6F9F31 #319F61
monochromatic
#3F1441 #6B2370 #98319F #BE47C6 #CF76D5

Accessibility & contrast

On white

6.41
#98319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#98319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98319F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98319F#FFFFFF#000000##FFFFFF
##98319F1.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)
#1857A2
Deuteranopia (green-blind)
#47639C
Tritanopia (blue-blind)
#9B4264
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98319f;
/* rgb */ color: rgb(152, 49, 159);
/* oklch */ color: oklch(50.9% 0.188 325.2);
Tailwind
colors: {
  custom: {
    50: '#ba72bc',
    500: '#98319f',
    950: '#000000',
  },
}
SCSS
$custom: #98319f;
$custom-light: #ba72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#98319f",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 296.182,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50902,
    "c": 0.18822,
    "h": 325.2
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#98319F
secondary
#74BD6F
accent
#DC4C55
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98319F

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

Preview Lab → · Contrast checker → · Palette generator →

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