#984DCB#984DCB

#984DCB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.9% C 0.193 H 309.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#984DCB
RGBrgb(152, 77, 203)
HSLhsl(276, 55%, 55%)
HSVhsv(276, 62%, 80%)
CMYKcmyk(25.1%, 62.1%, 0%, 20.4%)
CIE-LABlab(47.36, 53.05, -53.11)
CIE-LCHlch(47.36, 75.07, 314.96°)
OKLaboklab(56.91% 0.1212 -0.1498)
OKLCHoklch(56.91% 0.193 309)
XYZxyz(26.3801, 16.2954, 58.2440)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DCB #80CB4D
analogous
#594DCB #984DCB #CB4DBF
triadic
#984DCB #CB984D #4DCB98
tetradic
#984DCB #CB594D #80CB4D #4DBFCB
square
#984DCB #CB594D #80CB4D #4DBFCB
split-complementary
#984DCB #BFCB4D #4DCB59
monochromatic
#57247A #7931A9 #984DCB #B37CD9 #CFACE7

Accessibility & contrast

On white

4.93
#984DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#984DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DCB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DCB#FFFFFF#000000##FFFFFF
##984DCB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6DCF
Deuteranopia (green-blind)
#3B71C8
Tritanopia (blue-blind)
#916685
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984dcb;
/* rgb */ color: rgb(152, 77, 203);
/* oklch */ color: oklch(56.9% 0.193 309.0);
Tailwind
colors: {
  custom: {
    50: '#ba83db',
    500: '#984dcb',
    950: '#000000',
  },
}
SCSS
$custom: #984dcb;
$custom-light: #ba83db;
$custom-dark: #000000;
JSON
{
  "hex": "#984dcb",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 275.714,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56908,
    "c": 0.19269,
    "h": 309
  },
  "luminance": 0.16295
}

Semantic roles & 50–950 ramp

primary
#984DCB
secondary
#B5D49F
accent
#DE4A86
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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