#984DAF#984DAF

#984DAF is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.2% C 0.163 H 317.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#984DAF
RGBrgb(152, 77, 175)
HSLhsl(286, 39%, 49%)
HSVhsv(286, 56%, 69%)
CMYKcmyk(13.1%, 56%, 0%, 31.4%)
CIE-LABlab(45.74, 46.97, -39.40)
CIE-LCHlch(45.74, 61.31, 320.01°)
OKLaboklab(55.21% 0.1206 -0.1098)
OKLCHoklch(55.21% 0.163 317.7)
XYZxyz(23.3395, 15.0792, 42.2303)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DAF #64AF4D
analogous
#674DAF #984DAF #AF4D95
triadic
#984DAF #AF984D #4DAF98
tetradic
#984DAF #AF674D #64AF4D #4D95AF
square
#984DAF #AF674D #64AF4D #4D95AF
split-complementary
#984DAF #95AF4D #4DAF67
monochromatic
#4E285A #733A85 #984DAF #B176C3 #C9A1D6

Accessibility & contrast

On white

5.23
#984DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#984DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DAF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DAF#FFFFFF#000000##FFFFFF
##984DAF1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B2
Deuteranopia (green-blind)
#516FAC
Tritanopia (blue-blind)
#985C77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #984daf;
/* rgb */ color: rgb(152, 77, 175);
/* oklch */ color: oklch(55.2% 0.163 317.7);
Tailwind
colors: {
  custom: {
    50: '#b982c7',
    500: '#984daf',
    950: '#000000',
  },
}
SCSS
$custom: #984daf;
$custom-light: #b982c7;
$custom-dark: #000000;
JSON
{
  "hex": "#984daf",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 285.918,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55208,
    "c": 0.16308,
    "h": 317.7
  },
  "luminance": 0.15078
}

Semantic roles & 50–950 ramp

primary
#984DAF
secondary
#A0C395
accent
#CF5975
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #984DAF

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

Preview Lab → · Contrast checker → · Palette generator →

#984DAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva