#984BDE#984BDE

#984BDE is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.216 H 304.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#984BDE
RGBrgb(152, 75, 222)
HSLhsl(271, 69%, 58%)
HSVhsv(271, 66%, 87%)
CMYKcmyk(31.5%, 66.2%, 0%, 12.9%)
CIE-LABlab(48.24, 58.35, -62.57)
CIE-LCHlch(48.24, 85.55, 313.00°)
OKLaboklab(57.93% 0.1221 -0.1776)
OKLCHoklch(57.93% 0.216 304.5)
XYZxyz(28.6468, 16.9816, 70.8617)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BDE #91DE4B
analogous
#4E4BDE #984BDE #DE4BDA
triadic
#984BDE #DE984B #4BDE98
tetradic
#984BDE #DE4E4B #91DE4B #4BDADE
square
#984BDE #DE4E4B #91DE4B #4BDADE
split-complementary
#984BDE #DADE4B #4BDE4E
monochromatic
#5A1B94 #7A25C7 #984BDE #B67FE7 #D3B2F1

Accessibility & contrast

On white

4.78
#984BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#984BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BDE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BDE#FFFFFF#000000##FFFFFF
##984BDE1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#1873DB
Tritanopia (blue-blind)
#8B6C8E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #984bde;
/* rgb */ color: rgb(152, 75, 222);
/* oklch */ color: oklch(57.9% 0.216 304.5);
Tailwind
colors: {
  custom: {
    50: '#bb82e9',
    500: '#984bde',
    950: '#000000',
  },
}
SCSS
$custom: #984bde;
$custom-light: #bb82e9;
$custom-dark: #000000;
JSON
{
  "hex": "#984bde",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 271.429,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57933,
    "c": 0.21552,
    "h": 304.5
  },
  "luminance": 0.16981
}

Semantic roles & 50–950 ramp

primary
#984BDE
secondary
#C1E0A5
accent
#EC3C90
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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