#984097#984097

#984097 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.1% C 0.160 H 328.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#984097
RGBrgb(152, 64, 151)
HSLhsl(301, 41%, 42%)
HSVhsv(301, 58%, 60%)
CMYKcmyk(0%, 57.9%, 0.7%, 40.4%)
CIE-LABlab(42.12, 48.69, -30.84)
CIE-LCHlch(42.12, 57.63, 327.65°)
OKLaboklab(52.15% 0.1359 -0.0849)
OKLCHoklch(52.15% 0.16 328)
XYZxyz(20.3679, 12.5778, 30.6271)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984097 #409841
analogous
#6D4098 #984097 #98406B
triadic
#984097 #979840 #409798
tetradic
#984097 #986D40 #409841 #406B98
square
#984097 #986D40 #409841 #406B98
split-complementary
#984097 #6B9840 #40986D
monochromatic
#421C41 #6D2E6C #984097 #BA5BB9 #CC86CB

Accessibility & contrast

On white

5.97
#984097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#984097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984097
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984097#FFFFFF#000000##FFFFFF
##9840971.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#546894
Tritanopia (blue-blind)
#9D4A65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #984097;
/* rgb */ color: rgb(152, 64, 151);
/* oklch */ color: oklch(52.1% 0.160 328.0);
Tailwind
colors: {
  custom: {
    50: '#b97ab6',
    500: '#984097',
    950: '#000000',
  },
}
SCSS
$custom: #984097;
$custom-light: #b97ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#984097",
  "rgb": {
    "r": 152,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 300.682,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5215,
    "c": 0.16023,
    "h": 328
  },
  "luminance": 0.12577
}

Semantic roles & 50–950 ramp

primary
#984097
secondary
#7DB77E
accent
#D15957
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120911
muted
#817B80

Preview Lab

Preview with #984097

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

Preview Lab → · Contrast checker → · Palette generator →

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