#98278E#98278E

#98278E is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.186 H 331.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#98278E
RGBrgb(152, 39, 142)
HSLhsl(305, 59%, 37%)
HSVhsv(305, 74%, 60%)
CMYKcmyk(0%, 74.3%, 6.6%, 40.4%)
CIE-LABlab(37.99, 57.36, -31.87)
CIE-LCHlch(37.99, 65.62, 330.94°)
OKLaboklab(49% 0.1644 -0.0877)
OKLCHoklch(49% 0.186 331.9)
XYZxyz(18.5569, 10.0809, 26.5544)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98278E #279831
analogous
#6A2798 #98278E #982755
triadic
#98278E #8E9827 #278E98
tetradic
#98278E #986A27 #279831 #275598
square
#98278E #986A27 #279831 #275598
split-complementary
#98278E #559827 #27986A
monochromatic
#370E33 #671B61 #98278E #C933BB #D763CD

Accessibility & contrast

On white

6.96
#98278E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#98278E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98278E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98278E#FFFFFF#000000##FFFFFF
##98278E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#4B5F8B
Tritanopia (blue-blind)
#9F3458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98278e;
/* rgb */ color: rgb(152, 39, 142);
/* oklch */ color: oklch(49.0% 0.186 331.9);
Tailwind
colors: {
  custom: {
    50: '#ba6daf',
    500: '#98278e',
    950: '#000000',
  },
}
SCSS
$custom: #98278e;
$custom-light: #ba6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#98278e",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 305.31,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49002,
    "c": 0.18635,
    "h": 331.9
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#98278E
secondary
#5EBC67
accent
#E25345
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98278E

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

Preview Lab → · Contrast checker → · Palette generator →

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