#98159E#98159E

#98159E is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.8% C 0.214 H 326.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#98159E
RGBrgb(152, 21, 158)
HSLhsl(297, 77%, 35%)
HSVhsv(297, 87%, 62%)
CMYKcmyk(3.8%, 86.7%, 0%, 38%)
CIE-LABlab(37.27, 64.74, -42.76)
CIE-LCHlch(37.27, 77.59, 326.55°)
OKLaboklab(48.79% 0.1776 -0.1192)
OKLCHoklch(48.79% 0.214 326.1)
XYZxyz(19.3882, 9.6818, 33.1887)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98159E #1B9E15
analogous
#53159E #98159E #9E1560
triadic
#98159E #9E9815 #159E98
tetradic
#98159E #9E5315 #1B9E15 #15609E
square
#98159E #9E5315 #1B9E15 #15609E
split-complementary
#98159E #609E15 #159E53
monochromatic
#300732 #640E68 #98159E #CC1CD4 #E047E7

Accessibility & contrast

On white

7.15
#98159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#98159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98159E
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98159E#FFFFFF#000000##FFFFFF
##98159E1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#3B5D9B
Tritanopia (blue-blind)
#9C335D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98159e;
/* rgb */ color: rgb(152, 21, 158);
/* oklch */ color: oklch(48.8% 0.214 326.1);
Tailwind
colors: {
  custom: {
    50: '#bb68bb',
    500: '#98159e',
    950: '#000000',
  },
}
SCSS
$custom: #98159e;
$custom-light: #bb68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#98159e",
  "rgb": {
    "r": 152,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 297.372,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48789,
    "c": 0.21391,
    "h": 326.1
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

primary
#98159E
secondary
#4DC747
accent
#F3353D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #98159E

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

Preview Lab → · Contrast checker → · Palette generator →

#98159E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva