#98279E#98279E

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

Color values

HEX#98279E
RGBrgb(152, 39, 158)
HSLhsl(297, 60%, 39%)
HSVhsv(297, 75%, 62%)
CMYKcmyk(3.8%, 75.3%, 0%, 38%)
CIE-LABlab(38.89, 60.02, -40.16)
CIE-LCHlch(38.89, 72.22, 326.21°)
OKLaboklab(49.94% 0.1645 -0.1117)
OKLCHoklch(49.94% 0.199 325.8)
XYZxyz(19.8456, 10.5964, 33.3412)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98279E #2D9E27
analogous
#5C279E #98279E #9E2768
triadic
#98279E #9E9827 #279E98
tetradic
#98279E #9E5C27 #2D9E27 #27689E
square
#98279E #9E5C27 #2D9E27 #27689E
split-complementary
#98279E #689E27 #279E5C
monochromatic
#3A0F3C #691B6D #98279E #C535CD #D366D9

Accessibility & contrast

On white

6.73
#98279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#98279E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98279E
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98279E#FFFFFF#000000##FFFFFF
##98279E1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#42609B
Tritanopia (blue-blind)
#9C3C61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98279e;
/* rgb */ color: rgb(152, 39, 158);
/* oklch */ color: oklch(49.9% 0.199 325.8);
Tailwind
colors: {
  custom: {
    50: '#ba6ebb',
    500: '#98279e',
    950: '#000000',
  },
}
SCSS
$custom: #98279e;
$custom-light: #ba6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#98279e",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 296.975,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49942,
    "c": 0.19884,
    "h": 325.8
  },
  "luminance": 0.10595
}

Semantic roles & 50–950 ramp

primary
#98279E
secondary
#66BF62
accent
#E4444C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98279E

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

Preview Lab → · Contrast checker → · Palette generator →

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