#98279A#98279A

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

Color values

HEX#98279A
RGBrgb(152, 39, 154)
HSLhsl(299, 60%, 38%)
HSVhsv(299, 75%, 60%)
CMYKcmyk(1.3%, 74.7%, 0%, 39.6%)
CIE-LABlab(38.66, 59.34, -38.12)
CIE-LCHlch(38.66, 70.53, 327.28°)
OKLaboklab(49.7% 0.1646 -0.1058)
OKLCHoklch(49.7% 0.196 327.3)
XYZxyz(19.5069, 10.4609, 31.5573)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98279A #299A27
analogous
#5F279A #98279A #9A2762
triadic
#98279A #9A9827 #279A98
tetradic
#98279A #9A5F27 #299A27 #27629A
square
#98279A #9A5F27 #299A27 #27629A
split-complementary
#98279A #629A27 #279A5F
monochromatic
#380E38 #681B69 #98279A #C833CB #D664D8

Accessibility & contrast

On white

6.79
#98279A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#98279A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98279A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98279A#FFFFFF#000000##FFFFFF
##98279A1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A529D
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#9D3A5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98279a;
/* rgb */ color: rgb(152, 39, 154);
/* oklch */ color: oklch(49.7% 0.196 327.3);
Tailwind
colors: {
  custom: {
    50: '#ba6eb8',
    500: '#98279a',
    950: '#000000',
  },
}
SCSS
$custom: #98279a;
$custom-light: #ba6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#98279a",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 298.957,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49699,
    "c": 0.19565,
    "h": 327.3
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#98279A
secondary
#61BD5F
accent
#E34548
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98279A

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

Preview Lab → · Contrast checker → · Palette generator →

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