#984EDD#984EDD

#984EDD is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.211 H 304.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#984EDD
RGBrgb(152, 78, 221)
HSLhsl(271, 68%, 59%)
HSVhsv(271, 65%, 87%)
CMYKcmyk(31.2%, 64.7%, 0%, 13.3%)
CIE-LABlab(48.69, 56.68, -61.26)
CIE-LCHlch(48.69, 83.46, 312.78°)
OKLaboklab(58.24% 0.1189 -0.1738)
OKLCHoklch(58.24% 0.211 304.4)
XYZxyz(28.7215, 17.3448, 70.2274)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984EDD #93DD4E
analogous
#504EDD #984EDD #DD4EDA
triadic
#984EDD #DD984E #4EDD98
tetradic
#984EDD #DD504E #93DD4E #4EDADD
square
#984EDD #DD504E #93DD4E #4EDADD
split-complementary
#984EDD #DADD4E #4EDD50
monochromatic
#5A1C94 #7A26C7 #984EDD #B681E7 #D4B5F1

Accessibility & contrast

On white

4.70
#984EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#984EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984EDD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984EDD#FFFFFF#000000##FFFFFF
##984EDD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#2274DA
Tritanopia (blue-blind)
#8B6D8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984edd;
/* rgb */ color: rgb(152, 78, 221);
/* oklch */ color: oklch(58.2% 0.211 304.4);
Tailwind
colors: {
  custom: {
    50: '#bb84e8',
    500: '#984edd',
    950: '#000000',
  },
}
SCSS
$custom: #984edd;
$custom-light: #bb84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#984edd",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 271.049,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58238,
    "c": 0.21058,
    "h": 304.4
  },
  "luminance": 0.17345
}

Semantic roles & 50–950 ramp

primary
#984EDD
secondary
#C2E0A7
accent
#EB3D91
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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