#98279D#98279D

#98279D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.198 H 326.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#98279D
RGBrgb(152, 39, 157)
HSLhsl(297, 60%, 38%)
HSVhsv(297, 75%, 62%)
CMYKcmyk(3.2%, 75.2%, 0%, 38.4%)
CIE-LABlab(38.83, 59.85, -39.65)
CIE-LCHlch(38.83, 71.80, 326.47°)
OKLaboklab(49.88% 0.1645 -0.1102)
OKLCHoklch(49.88% 0.198 326.2)
XYZxyz(19.7598, 10.5621, 32.8897)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98279D #2C9D27
analogous
#5D279D #98279D #9D2767
triadic
#98279D #9D9827 #279D98
tetradic
#98279D #9D5D27 #2C9D27 #27679D
square
#98279D #9D5D27 #2C9D27 #27679D
split-complementary
#98279D #679D27 #279D5D
monochromatic
#390F3B #691B6C #98279D #C635CD #D466D9

Accessibility & contrast

On white

6.75
#98279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#98279D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98279D
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98279D#FFFFFF#000000##FFFFFF
##98279D1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#43609A
Tritanopia (blue-blind)
#9C3B60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98279d;
/* rgb */ color: rgb(152, 39, 157);
/* oklch */ color: oklch(49.9% 0.198 326.2);
Tailwind
colors: {
  custom: {
    50: '#ba6eba',
    500: '#98279d',
    950: '#000000',
  },
}
SCSS
$custom: #98279d;
$custom-light: #ba6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#98279d",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 297.458,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49881,
    "c": 0.19804,
    "h": 326.2
  },
  "luminance": 0.10561
}

Semantic roles & 50–950 ramp

primary
#98279D
secondary
#65BF61
accent
#E3444B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98279D

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

Preview Lab → · Contrast checker → · Palette generator →

#98279D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva