#984BD2#984BD2

#984BD2 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.203 H 307.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#984BD2
RGBrgb(152, 75, 210)
HSLhsl(274, 60%, 56%)
HSVhsv(274, 64%, 82%)
CMYKcmyk(27.6%, 64.3%, 0%, 17.6%)
CIE-LABlab(47.44, 55.60, -57.00)
CIE-LCHlch(47.44, 79.63, 314.29°)
OKLaboklab(57.11% 0.1231 -0.1612)
OKLCHoklch(57.11% 0.203 307.4)
XYZxyz(27.0954, 16.3610, 62.6909)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BD2 #85D24B
analogous
#544BD2 #984BD2 #D24BC9
triadic
#984BD2 #D2984B #4BD298
tetradic
#984BD2 #D2544B #85D24B #4BC9D2
square
#984BD2 #D2544B #85D24B #4BC9D2
split-complementary
#984BD2 #C9D24B #4BD254
monochromatic
#582182 #792DB3 #984BD2 #B47CDE #D0ADEA

Accessibility & contrast

On white

4.92
#984BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#984BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BD2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BD2#FFFFFF#000000##FFFFFF
##984BD21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#2F71CF
Tritanopia (blue-blind)
#8F6788
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984bd2;
/* rgb */ color: rgb(152, 75, 210);
/* oklch */ color: oklch(57.1% 0.203 307.4);
Tailwind
colors: {
  custom: {
    50: '#ba82e0',
    500: '#984bd2',
    950: '#000000',
  },
}
SCSS
$custom: #984bd2;
$custom-light: #ba82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#984bd2",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 274.222,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57111,
    "c": 0.20288,
    "h": 307.4
  },
  "luminance": 0.16361
}

Semantic roles & 50–950 ramp

primary
#984BD2
secondary
#B8D8A0
accent
#E34589
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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