#98288B#98288B

#98288B is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.183 H 333.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#98288B
RGBrgb(152, 40, 139)
HSLhsl(307, 58%, 38%)
HSVhsv(307, 74%, 60%)
CMYKcmyk(0%, 73.7%, 8.6%, 40.4%)
CIE-LABlab(37.95, 56.54, -30.10)
CIE-LCHlch(37.95, 64.05, 331.97°)
OKLaboklab(48.92% 0.1633 -0.0825)
OKLCHoklch(48.92% 0.183 333.2)
XYZxyz(18.3680, 10.0586, 25.3952)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98288B #289835
analogous
#6D2898 #98288B #982853
triadic
#98288B #8B9828 #288B98
tetradic
#98288B #986D28 #289835 #285398
square
#98288B #986D28 #289835 #285398
split-complementary
#98288B #539828 #28986D
monochromatic
#370F32 #681B5F #98288B #C835B7 #D664C9

Accessibility & contrast

On white

6.97
#98288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#98288B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98288B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98288B#FFFFFF#000000##FFFFFF
##98288B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8E
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#9F3357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98288b;
/* rgb */ color: rgb(152, 40, 139);
/* oklch */ color: oklch(48.9% 0.183 333.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ead',
    500: '#98288b',
    950: '#000000',
  },
}
SCSS
$custom: #98288b;
$custom-light: #ba6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#98288b",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 306.964,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48922,
    "c": 0.18296,
    "h": 333.2
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#98288B
secondary
#60BC6A
accent
#E25846
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98288B

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

Preview Lab → · Contrast checker → · Palette generator →

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