#984BAF#984BAF

#984BAF is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.9% C 0.166 H 317.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#984BAF
RGBrgb(152, 75, 175)
HSLhsl(286, 40%, 49%)
HSVhsv(286, 57%, 69%)
CMYKcmyk(13.1%, 57.1%, 0%, 31.4%)
CIE-LABlab(45.36, 47.99, -40.00)
CIE-LCHlch(45.36, 62.47, 320.19°)
OKLaboklab(54.93% 0.1233 -0.1115)
OKLCHoklch(54.93% 0.166 317.9)
XYZxyz(23.2018, 14.8036, 42.1843)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BAF #62AF4B
analogous
#664BAF #984BAF #AF4B94
triadic
#984BAF #AF984B #4BAF98
tetradic
#984BAF #AF664B #62AF4B #4B94AF
square
#984BAF #AF664B #62AF4B #4B94AF
split-complementary
#984BAF #94AF4B #4BAF66
monochromatic
#4E2659 #733984 #984BAF #B174C3 #C99FD6

Accessibility & contrast

On white

5.30
#984BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#984BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BAF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BAF#FFFFFF#000000##FFFFFF
##984BAF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#4F6EAC
Tritanopia (blue-blind)
#985B76
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #984baf;
/* rgb */ color: rgb(152, 75, 175);
/* oklch */ color: oklch(54.9% 0.166 317.9);
Tailwind
colors: {
  custom: {
    50: '#b981c7',
    500: '#984baf',
    950: '#000000',
  },
}
SCSS
$custom: #984baf;
$custom-light: #b981c7;
$custom-dark: #000000;
JSON
{
  "hex": "#984baf",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 286.2,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54931,
    "c": 0.16623,
    "h": 317.9
  },
  "luminance": 0.14803
}

Semantic roles & 50–950 ramp

primary
#984BAF
secondary
#9EC293
accent
#D05874
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #984BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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