#982896#982896

#982896 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.191 H 328.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#982896
RGBrgb(152, 40, 150)
HSLhsl(301, 58%, 38%)
HSVhsv(301, 74%, 60%)
CMYKcmyk(0%, 73.7%, 1.3%, 40.4%)
CIE-LABlab(38.54, 58.33, -35.87)
CIE-LCHlch(38.54, 68.48, 328.41°)
OKLaboklab(49.54% 0.1637 -0.0992)
OKLCHoklch(49.54% 0.191 328.8)
XYZxyz(19.2125, 10.3964, 29.8430)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982896 #28982A
analogous
#622898 #982896 #98285E
triadic
#982896 #969828 #289698
tetradic
#982896 #986228 #28982A #285E98
square
#982896 #986228 #28982A #285E98
split-complementary
#982896 #5E9828 #289862
monochromatic
#370F36 #681B66 #982896 #C835C6 #D664D4

Accessibility & contrast

On white

6.82
#982896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#982896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982896
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982896#FFFFFF#000000##FFFFFF
##9828961.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155199
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#9D385D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982896;
/* rgb */ color: rgb(152, 40, 150);
/* oklch */ color: oklch(49.5% 0.191 328.8);
Tailwind
colors: {
  custom: {
    50: '#ba6eb5',
    500: '#982896',
    950: '#000000',
  },
}
SCSS
$custom: #982896;
$custom-light: #ba6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#982896",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 301.071,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49544,
    "c": 0.19142,
    "h": 328.8
  },
  "luminance": 0.10395
}

Semantic roles & 50–950 ramp

primary
#982896
secondary
#60BC61
accent
#E24946
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982896

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

Preview Lab → · Contrast checker → · Palette generator →

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