#984DBF#984DBF

#984DBF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.180 H 312.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#984DBF
RGBrgb(152, 77, 191)
HSLhsl(279, 47%, 53%)
HSVhsv(279, 60%, 75%)
CMYKcmyk(20.4%, 59.7%, 0%, 25.1%)
CIE-LABlab(46.64, 50.39, -47.33)
CIE-LCHlch(46.64, 69.13, 316.79°)
OKLaboklab(56.15% 0.1213 -0.1329)
OKLCHoklch(56.15% 0.18 312.4)
XYZxyz(25.0051, 15.7454, 51.0021)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984DBF #74BF4D
analogous
#5F4DBF #984DBF #BF4DAD
triadic
#984DBF #BF984D #4DBF98
tetradic
#984DBF #BF5F4D #74BF4D #4DADBF
square
#984DBF #BF5F4D #74BF4D #4DADBF
split-complementary
#984DBF #ADBF4D #4DBF5F
monochromatic
#54276B #773798 #984DBF #B27ACF #CCA7DF

Accessibility & contrast

On white

5.06
#984DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#984DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984DBF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984DBF#FFFFFF#000000##FFFFFF
##984DBF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266BC3
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#94627F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984dbf;
/* rgb */ color: rgb(152, 77, 191);
/* oklch */ color: oklch(56.2% 0.180 312.4);
Tailwind
colors: {
  custom: {
    50: '#b983d3',
    500: '#984dbf',
    950: '#000000',
  },
}
SCSS
$custom: #984dbf;
$custom-light: #b983d3;
$custom-dark: #000000;
JSON
{
  "hex": "#984dbf",
  "rgb": {
    "r": 152,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 279.474,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56153,
    "c": 0.17992,
    "h": 312.4
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#984DBF
secondary
#ACCD9B
accent
#D7517F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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