#984498#984498

#984498 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.7% C 0.155 H 327.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#984498
RGBrgb(152, 68, 152)
HSLhsl(300, 38%, 43%)
HSVhsv(300, 55%, 60%)
CMYKcmyk(0%, 55.3%, 0%, 40.4%)
CIE-LABlab(42.88, 46.95, -30.24)
CIE-LCHlch(42.88, 55.85, 327.21°)
OKLaboklab(52.72% 0.1306 -0.0832)
OKLCHoklch(52.72% 0.155 327.5)
XYZxyz(20.6832, 13.0779, 31.1345)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984498 #449844
analogous
#6E4498 #984498 #98446E
triadic
#984498 #989844 #449898
tetradic
#984498 #986E44 #449844 #446E98
square
#984498 #986E44 #449844 #446E98
split-complementary
#984498 #6E9844 #44986E
monochromatic
#431E43 #6E316E #984498 #B861B8 #CB8BCB

Accessibility & contrast

On white

5.81
#984498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#984498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984498
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984498#FFFFFF#000000##FFFFFF
##9844981.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9B
Deuteranopia (green-blind)
#566996
Tritanopia (blue-blind)
#9C4E67
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #984498;
/* rgb */ color: rgb(152, 68, 152);
/* oklch */ color: oklch(52.7% 0.155 327.5);
Tailwind
colors: {
  custom: {
    50: '#b97cb6',
    500: '#984498',
    950: '#000000',
  },
}
SCSS
$custom: #984498;
$custom-light: #b97cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#984498",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 300,
    "s": 38.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52723,
    "c": 0.15485,
    "h": 327.5
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

primary
#984498
secondary
#81B681
accent
#CE5A5A
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #984498

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

Preview Lab → · Contrast checker → · Palette generator →

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