#982897#982897

#982897 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.192 H 328.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#982897
RGBrgb(152, 40, 151)
HSLhsl(301, 58%, 38%)
HSVhsv(301, 74%, 60%)
CMYKcmyk(0%, 73.7%, 0.7%, 40.4%)
CIE-LABlab(38.60, 58.50, -36.39)
CIE-LCHlch(38.60, 68.89, 328.12°)
OKLaboklab(49.6% 0.1637 -0.1008)
OKLCHoklch(49.6% 0.192 328.4)
XYZxyz(19.2934, 10.4288, 30.2689)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982897 #289829
analogous
#612898 #982897 #98285F
triadic
#982897 #979828 #289798
tetradic
#982897 #986128 #289829 #285F98
square
#982897 #986128 #289829 #285F98
split-complementary
#982897 #5F9828 #289861
monochromatic
#370F37 #681B67 #982897 #C835C7 #D664D5

Accessibility & contrast

On white

6.81
#982897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#982897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982897
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982897#FFFFFF#000000##FFFFFF
##9828971.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13529A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#9D395D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982897;
/* rgb */ color: rgb(152, 40, 151);
/* oklch */ color: oklch(49.6% 0.192 328.4);
Tailwind
colors: {
  custom: {
    50: '#ba6eb6',
    500: '#982897',
    950: '#000000',
  },
}
SCSS
$custom: #982897;
$custom-light: #ba6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#982897",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 300.536,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49603,
    "c": 0.19221,
    "h": 328.4
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #982897

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

Preview Lab → · Contrast checker → · Palette generator →

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