#98288E#98288E

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

Color values

HEX#98288E
RGBrgb(152, 40, 142)
HSLhsl(305, 58%, 38%)
HSVhsv(305, 74%, 60%)
CMYKcmyk(0%, 73.7%, 6.6%, 40.4%)
CIE-LABlab(38.11, 57.02, -31.69)
CIE-LCHlch(38.11, 65.23, 330.94°)
OKLaboklab(49.09% 0.1635 -0.0871)
OKLCHoklch(49.09% 0.185 331.9)
XYZxyz(18.5902, 10.1475, 26.5655)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98288E #289832
analogous
#6A2898 #98288E #982856
triadic
#98288E #8E9828 #288E98
tetradic
#98288E #986A28 #289832 #285698
square
#98288E #986A28 #289832 #285698
split-complementary
#98288E #569828 #28986A
monochromatic
#370F33 #681B61 #98288E #C835BB #D664CC

Accessibility & contrast

On white

6.93
#98288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#98288E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98288E
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98288E#FFFFFF#000000##FFFFFF
##98288E1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205091
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#9E3558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98288e;
/* rgb */ color: rgb(152, 40, 142);
/* oklch */ color: oklch(49.1% 0.185 331.9);
Tailwind
colors: {
  custom: {
    50: '#ba6eaf',
    500: '#98288e',
    950: '#000000',
  },
}
SCSS
$custom: #98288e;
$custom-light: #ba6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#98288e",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 305.357,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49088,
    "c": 0.18524,
    "h": 331.9
  },
  "luminance": 0.10146
}

Semantic roles & 50–950 ramp

primary
#98288E
secondary
#60BC68
accent
#E25446
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98288E

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

Preview Lab → · Contrast checker → · Palette generator →

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