#984CDD#984CDD

#984CDD is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.0% C 0.213 H 304.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#984CDD
RGBrgb(152, 76, 221)
HSLhsl(271, 68%, 58%)
HSVhsv(271, 66%, 87%)
CMYKcmyk(31.2%, 65.6%, 0%, 13.3%)
CIE-LABlab(48.34, 57.65, -61.83)
CIE-LCHlch(48.34, 84.53, 312.99°)
OKLaboklab(57.99% 0.1211 -0.1754)
OKLCHoklch(57.99% 0.213 304.6)
XYZxyz(28.5816, 17.0649, 70.1807)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CDD #91DD4C
analogous
#4F4CDD #984CDD #DD4CDA
triadic
#984CDD #DD984C #4CDD98
tetradic
#984CDD #DD4F4C #91DD4C #4CDADD
square
#984CDD #DD4F4C #91DD4C #4CDADD
split-complementary
#984CDD #DADD4C #4CDD4F
monochromatic
#5A1C93 #7A26C6 #984CDD #B67FE7 #D3B3F1

Accessibility & contrast

On white

4.76
#984CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#984CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CDD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CDD#FFFFFF#000000##FFFFFF
##984CDD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#1E73DA
Tritanopia (blue-blind)
#8B6C8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984cdd;
/* rgb */ color: rgb(152, 76, 221);
/* oklch */ color: oklch(58.0% 0.213 304.6);
Tailwind
colors: {
  custom: {
    50: '#bb83e8',
    500: '#984cdd',
    950: '#000000',
  },
}
SCSS
$custom: #984cdd;
$custom-light: #bb83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#984cdd",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 271.448,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57987,
    "c": 0.21318,
    "h": 304.6
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#984CDD
secondary
#C1DFA6
accent
#EB3D90
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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