#98279B#98279B

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

Color values

HEX#98279B
RGBrgb(152, 39, 155)
HSLhsl(298, 60%, 38%)
HSVhsv(298, 75%, 61%)
CMYKcmyk(1.9%, 74.8%, 0%, 39.2%)
CIE-LABlab(38.72, 59.51, -38.63)
CIE-LCHlch(38.72, 70.95, 327.01°)
OKLaboklab(49.76% 0.1646 -0.1073)
OKLCHoklch(49.76% 0.196 326.9)
XYZxyz(19.5905, 10.4944, 31.9978)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98279B #2A9B27
analogous
#5E279B #98279B #9B2764
triadic
#98279B #9B9827 #279B98
tetradic
#98279B #9B5E27 #2A9B27 #27649B
square
#98279B #9B5E27 #2A9B27 #27649B
split-complementary
#98279B #649B27 #279B5E
monochromatic
#380E39 #681B6A #98279B #C833CC #D564D8

Accessibility & contrast

On white

6.78
#98279B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#98279B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98279B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98279B#FFFFFF#000000##FFFFFF
##98279B1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07529E
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#9C3A5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98279b;
/* rgb */ color: rgb(152, 39, 155);
/* oklch */ color: oklch(49.8% 0.196 326.9);
Tailwind
colors: {
  custom: {
    50: '#ba6eb9',
    500: '#98279b',
    950: '#000000',
  },
}
SCSS
$custom: #98279b;
$custom-light: #ba6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#98279b",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 298.448,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49759,
    "c": 0.19645,
    "h": 326.9
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#98279B
secondary
#62BE60
accent
#E34549
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98279B

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

Preview Lab → · Contrast checker → · Palette generator →

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