#984DBE#984DBE

#984DBE is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.179 H 312.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#984DBE
RGBrgb(152, 77, 190)
HSLhsl(280, 47%, 52%)
HSVhsv(280, 59%, 75%)
CMYKcmyk(20%, 59.5%, 0%, 25.5%)
CIE-LABlab(46.58, 50.17, -46.84)
CIE-LCHlch(46.58, 68.63, 316.97°)
OKLaboklab(56.09% 0.1213 -0.1315)
OKLCHoklch(56.09% 0.179 312.7)
XYZxyz(24.8954, 15.7015, 50.4245)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DBE #73BE4D
analogous
#604DBE #984DBE #BE4DAC
triadic
#984DBE #BE984D #4DBE98
tetradic
#984DBE #BE604D #73BE4D #4DACBE
square
#984DBE #BE604D #73BE4D #4DACBE
split-complementary
#984DBE #ACBE4D #4DBE60
monochromatic
#53276A #773797 #984DBE #B27ACE #CCA7DF

Accessibility & contrast

On white

5.07
#984DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#984DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DBE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DBE#FFFFFF#000000##FFFFFF
##984DBE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC2
Deuteranopia (green-blind)
#4670BB
Tritanopia (blue-blind)
#94617E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #984dbe;
/* rgb */ color: rgb(152, 77, 190);
/* oklch */ color: oklch(56.1% 0.179 312.7);
Tailwind
colors: {
  custom: {
    50: '#b983d2',
    500: '#984dbe',
    950: '#000000',
  },
}
SCSS
$custom: #984dbe;
$custom-light: #b983d2;
$custom-dark: #000000;
JSON
{
  "hex": "#984dbe",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 279.823,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56092,
    "c": 0.17886,
    "h": 312.7
  },
  "luminance": 0.15701
}

Semantic roles & 50–950 ramp

primary
#984DBE
secondary
#ABCC9B
accent
#D6527E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #984DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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