#984297#984297

#984297 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.4% C 0.157 H 328.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#984297
RGBrgb(152, 66, 151)
HSLhsl(301, 39%, 43%)
HSVhsv(301, 57%, 60%)
CMYKcmyk(0%, 56.6%, 0.7%, 40.4%)
CIE-LABlab(42.47, 47.74, -30.28)
CIE-LCHlch(42.47, 56.53, 327.61°)
OKLaboklab(52.41% 0.1332 -0.0833)
OKLCHoklch(52.41% 0.157 328)
XYZxyz(20.4827, 12.8074, 30.6654)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984297 #429843
analogous
#6E4298 #984297 #98426C
triadic
#984297 #979842 #429798
tetradic
#984297 #986E42 #429843 #426C98
square
#984297 #986E42 #429843 #426C98
split-complementary
#984297 #6C9842 #42986E
monochromatic
#431D42 #6D2F6D #984297 #B95EB8 #CC89CB

Accessibility & contrast

On white

5.90
#984297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#984297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984297
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984297#FFFFFF#000000##FFFFFF
##9842971.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D9A
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#9C4C66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #984297;
/* rgb */ color: rgb(152, 66, 151);
/* oklch */ color: oklch(52.4% 0.157 328.0);
Tailwind
colors: {
  custom: {
    50: '#b97bb6',
    500: '#984297',
    950: '#000000',
  },
}
SCSS
$custom: #984297;
$custom-light: #b97bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#984297",
  "rgb": {
    "r": 152,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 300.698,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52407,
    "c": 0.15711,
    "h": 328
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#984297
secondary
#7FB780
accent
#CF5A58
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #984297

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

Preview Lab → · Contrast checker → · Palette generator →

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