#984FDE#984FDE

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

Color values

HEX#984FDE
RGBrgb(152, 79, 222)
HSLhsl(271, 68%, 59%)
HSVhsv(271, 64%, 87%)
CMYKcmyk(31.5%, 64.4%, 0%, 12.9%)
CIE-LABlab(48.94, 56.43, -61.44)
CIE-LCHlch(48.94, 83.42, 312.57°)
OKLaboklab(58.44% 0.1177 -0.1743)
OKLCHoklch(58.44% 0.21 304)
XYZxyz(28.9267, 17.5414, 70.9550)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FDE #95DE4F
analogous
#514FDE #984FDE #DE4FDD
triadic
#984FDE #DE984F #4FDE98
tetradic
#984FDE #DE514F #95DE4F #4FDDDE
square
#984FDE #DE514F #95DE4F #4FDDDE
split-complementary
#984FDE #DDDE4F #4FDE51
monochromatic
#5B1C96 #7A26CA #984FDE #B683E8 #D4B6F1

Accessibility & contrast

On white

4.66
#984FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#984FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984FDE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FDE#FFFFFF#000000##FFFFFF
##984FDE1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#2274DB
Tritanopia (blue-blind)
#8B6E90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984fde;
/* rgb */ color: rgb(152, 79, 222);
/* oklch */ color: oklch(58.4% 0.210 304.0);
Tailwind
colors: {
  custom: {
    50: '#bb85e9',
    500: '#984fde',
    950: '#000000',
  },
}
SCSS
$custom: #984fde;
$custom-light: #bb85e9;
$custom-dark: #000000;
JSON
{
  "hex": "#984fde",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 270.629,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58435,
    "c": 0.21034,
    "h": 304
  },
  "luminance": 0.17541
}

Semantic roles & 50–950 ramp

primary
#984FDE
secondary
#C4E0A8
accent
#EB3D92
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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