#98349F#98349F

#98349F is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.184 H 325.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#98349F
RGBrgb(152, 52, 159)
HSLhsl(296, 51%, 41%)
HSVhsv(296, 67%, 62%)
CMYKcmyk(4.4%, 67.3%, 0%, 37.6%)
CIE-LABlab(40.63, 55.43, -38.00)
CIE-LCHlch(40.63, 67.21, 325.57°)
OKLaboklab(51.21% 0.1512 -0.1055)
OKLCHoklch(51.21% 0.184 325.1)
XYZxyz(20.4344, 11.6358, 33.9638)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98349F #3B9F34
analogous
#63349F #98349F #9F3471
triadic
#98349F #9F9834 #349F98
tetradic
#98349F #9F6334 #3B9F34 #34719F
square
#98349F #9F6334 #3B9F34 #34719F
split-complementary
#98349F #719F34 #349F63
monochromatic
#401643 #6C2571 #98349F #BD4CC4 #CE7AD3

Accessibility & contrast

On white

6.31
#98349F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#98349F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98349F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98349F#FFFFFF#000000##FFFFFF
##98349F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#49649C
Tritanopia (blue-blind)
#9B4465
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #98349f;
/* rgb */ color: rgb(152, 52, 159);
/* oklch */ color: oklch(51.2% 0.184 325.1);
Tailwind
colors: {
  custom: {
    50: '#b974bc',
    500: '#98349f',
    950: '#000000',
  },
}
SCSS
$custom: #98349f;
$custom-light: #b974bc;
$custom-dark: #000000;
JSON
{
  "hex": "#98349f",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 296.075,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51207,
    "c": 0.1844,
    "h": 325.1
  },
  "luminance": 0.11635
}

Semantic roles & 50–950 ramp

primary
#98349F
secondary
#77BC73
accent
#DA4E57
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #98349F

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

Preview Lab → · Contrast checker → · Palette generator →

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