#984397#984397

#984397 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.5% C 0.156 H 328.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#984397
RGBrgb(152, 67, 151)
HSLhsl(301, 39%, 43%)
HSVhsv(301, 56%, 60%)
CMYKcmyk(0%, 55.9%, 0.7%, 40.4%)
CIE-LABlab(42.65, 47.25, -30.00)
CIE-LCHlch(42.65, 55.97, 327.59°)
OKLaboklab(52.54% 0.1318 -0.0825)
OKLCHoklch(52.54% 0.156 328)
XYZxyz(20.5417, 12.9253, 30.6850)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984397 #439844
analogous
#6E4398 #984397 #98436C
triadic
#984397 #979843 #439798
tetradic
#984397 #986E43 #439844 #436C98
square
#984397 #986E43 #439844 #436C98
split-complementary
#984397 #6C9843 #43986E
monochromatic
#431E43 #6E306D #984397 #B960B8 #CB8ACB

Accessibility & contrast

On white

5.86
#984397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#984397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984397
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984397#FFFFFF#000000##FFFFFF
##9843971.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9A
Deuteranopia (green-blind)
#566995
Tritanopia (blue-blind)
#9C4D67
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #984397;
/* rgb */ color: rgb(152, 67, 151);
/* oklch */ color: oklch(52.5% 0.156 328.0);
Tailwind
colors: {
  custom: {
    50: '#b97cb6',
    500: '#984397',
    950: '#000000',
  },
}
SCSS
$custom: #984397;
$custom-light: #b97cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#984397",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 300.706,
    "s": 38.813,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.15553,
    "h": 328
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

primary
#984397
secondary
#80B681
accent
#CF5A59
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #984397

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

Preview Lab → · Contrast checker → · Palette generator →

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