#98279C#98279C

#98279C is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.197 H 326.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#98279C
RGBrgb(152, 39, 156)
HSLhsl(298, 60%, 38%)
HSVhsv(298, 75%, 61%)
CMYKcmyk(2.6%, 75%, 0%, 38.8%)
CIE-LABlab(38.77, 59.68, -39.14)
CIE-LCHlch(38.77, 71.37, 326.74°)
OKLaboklab(49.82% 0.1646 -0.1087)
OKLCHoklch(49.82% 0.197 326.5)
XYZxyz(19.6748, 10.5281, 32.4419)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98279C #2B9C27
analogous
#5D279C #98279C #9C2765
triadic
#98279C #9C9827 #279C98
tetradic
#98279C #9C5D27 #2B9C27 #27659C
square
#98279C #9C5D27 #2B9C27 #27659C
split-complementary
#98279C #659C27 #279C5D
monochromatic
#390F3A #681B6B #98279C #C734CC #D565D8

Accessibility & contrast

On white

6.76
#98279C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98279C
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98279C#FFFFFF#000000##FFFFFF
##98279C1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04529F
Deuteranopia (green-blind)
#446099
Tritanopia (blue-blind)
#9C3B60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98279c;
/* rgb */ color: rgb(152, 39, 156);
/* oklch */ color: oklch(49.8% 0.197 326.5);
Tailwind
colors: {
  custom: {
    50: '#ba6eba',
    500: '#98279c',
    950: '#000000',
  },
}
SCSS
$custom: #98279c;
$custom-light: #ba6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#98279c",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 297.949,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4982,
    "c": 0.19725,
    "h": 326.5
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#98279C
secondary
#64BE61
accent
#E3454A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98279C

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

Preview Lab → · Contrast checker → · Palette generator →

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