#98279F#98279F

#98279F is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.200 H 325.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#98279F
RGBrgb(152, 39, 159)
HSLhsl(297, 61%, 39%)
HSVhsv(297, 75%, 62%)
CMYKcmyk(4.4%, 75.5%, 0%, 37.6%)
CIE-LABlab(38.95, 60.20, -40.67)
CIE-LCHlch(38.95, 72.65, 325.96°)
OKLaboklab(50% 0.1645 -0.1132)
OKLCHoklch(50% 0.2 325.5)
XYZxyz(19.9320, 10.6310, 33.7963)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98279F #2E9F27
analogous
#5C279F #98279F #9F276A
triadic
#98279F #9F9827 #279F98
tetradic
#98279F #9F5C27 #2E9F27 #276A9F
square
#98279F #9F5C27 #2E9F27 #276A9F
split-complementary
#98279F #6A9F27 #279F5C
monochromatic
#3A0F3D #691B6E #98279F #C536CE #D367DA

Accessibility & contrast

On white

6.72
#98279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#98279F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98279F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98279F#FFFFFF#000000##FFFFFF
##98279F1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#42609C
Tritanopia (blue-blind)
#9C3C62
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98279f;
/* rgb */ color: rgb(152, 39, 159);
/* oklch */ color: oklch(50.0% 0.200 325.5);
Tailwind
colors: {
  custom: {
    50: '#ba6ebc',
    500: '#98279f',
    950: '#000000',
  },
}
SCSS
$custom: #98279f;
$custom-light: #ba6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#98279f",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 296.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50004,
    "c": 0.19964,
    "h": 325.5
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#98279F
secondary
#68C062
accent
#E4444D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98279F

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

Preview Lab → · Contrast checker → · Palette generator →

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