#984FDD#984FDD

#984FDD is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.209 H 304.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#984FDD
RGBrgb(152, 79, 221)
HSLhsl(271, 68%, 59%)
HSVhsv(271, 64%, 87%)
CMYKcmyk(31.2%, 64.3%, 0%, 13.3%)
CIE-LABlab(48.87, 56.20, -60.98)
CIE-LCHlch(48.87, 82.92, 312.66°)
OKLaboklab(58.37% 0.1178 -0.1729)
OKLCHoklch(58.37% 0.209 304.3)
XYZxyz(28.7931, 17.4879, 70.2512)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FDD #94DD4F
analogous
#514FDD #984FDD #DD4FDB
triadic
#984FDD #DD984F #4FDD98
tetradic
#984FDD #DD514F #94DD4F #4FDBDD
square
#984FDD #DD514F #94DD4F #4FDBDD
split-complementary
#984FDD #DBDD4F #4FDD51
monochromatic
#5A1D95 #7A27C8 #984FDD #B682E7 #D4B6F1

Accessibility & contrast

On white

4.67
#984FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#984FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984FDD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FDD#FFFFFF#000000##FFFFFF
##984FDD1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #984fdd;
/* rgb */ color: rgb(152, 79, 221);
/* oklch */ color: oklch(58.4% 0.209 304.3);
Tailwind
colors: {
  custom: {
    50: '#bb85e8',
    500: '#984fdd',
    950: '#000000',
  },
}
SCSS
$custom: #984fdd;
$custom-light: #bb85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#984fdd",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 270.845,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58366,
    "c": 0.20926,
    "h": 304.3
  },
  "luminance": 0.17488
}

Semantic roles & 50–950 ramp

primary
#984FDD
secondary
#C3E0A8
accent
#EA3D91
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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