#982288#982288

#982288 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.187 H 334.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#982288
RGBrgb(152, 34, 136)
HSLhsl(308, 63%, 36%)
HSVhsv(308, 78%, 60%)
CMYKcmyk(0%, 77.6%, 10.5%, 40.4%)
CIE-LABlab(37.11, 58.01, -29.57)
CIE-LCHlch(37.11, 65.11, 333.00°)
OKLaboklab(48.27% 0.1688 -0.081)
OKLCHoklch(48.27% 0.187 334.4)
XYZxyz(17.9650, 9.5986, 24.1943)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982288 #229832
analogous
#6D2298 #982288 #98224D
triadic
#982288 #889822 #228898
tetradic
#982288 #986D22 #229832 #224D98
square
#982288 #986D22 #229832 #224D98
split-complementary
#982288 #4D9822 #22986D
monochromatic
#340C2F #66175B #982288 #CA2DB5 #DA5AC9

Accessibility & contrast

On white

7.19
#982288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#982288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982288
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982288#FFFFFF#000000##FFFFFF
##9822881.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8B
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#9F2D53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982288;
/* rgb */ color: rgb(152, 34, 136);
/* oklch */ color: oklch(48.3% 0.187 334.4);
Tailwind
colors: {
  custom: {
    50: '#ba6bab',
    500: '#982288',
    950: '#000000',
  },
}
SCSS
$custom: #982288;
$custom-light: #ba6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#982288",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 308.136,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48271,
    "c": 0.1872,
    "h": 334.4
  },
  "luminance": 0.09597
}

Semantic roles & 50–950 ramp

primary
#982288
secondary
#57BE65
accent
#E65841
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #982288

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

Preview Lab → · Contrast checker → · Palette generator →

#982288 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva