#984CD2#984CD2

#984CD2 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.202 H 307.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#984CD2
RGBrgb(152, 76, 210)
HSLhsl(274, 60%, 56%)
HSVhsv(274, 64%, 82%)
CMYKcmyk(27.6%, 63.8%, 0%, 17.6%)
CIE-LABlab(47.62, 55.12, -56.71)
CIE-LCHlch(47.62, 79.09, 314.18°)
OKLaboklab(57.24% 0.122 -0.1604)
OKLCHoklch(57.24% 0.202 307.3)
XYZxyz(27.1638, 16.4978, 62.7137)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CD2 #86D24C
analogous
#554CD2 #984CD2 #D24CC9
triadic
#984CD2 #D2984C #4CD298
tetradic
#984CD2 #D2554C #86D24C #4CC9D2
square
#984CD2 #D2554C #86D24C #4CC9D2
split-complementary
#984CD2 #C9D24C #4CD255
monochromatic
#582183 #792DB4 #984CD2 #B47DDE #D0AEEB

Accessibility & contrast

On white

4.88
#984CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#984CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CD2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CD2#FFFFFF#000000##FFFFFF
##984CD21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#3172CF
Tritanopia (blue-blind)
#8F6888
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984cd2;
/* rgb */ color: rgb(152, 76, 210);
/* oklch */ color: oklch(57.2% 0.202 307.3);
Tailwind
colors: {
  custom: {
    50: '#ba82e0',
    500: '#984cd2',
    950: '#000000',
  },
}
SCSS
$custom: #984cd2;
$custom-light: #ba82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#984cd2",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 274.03,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57238,
    "c": 0.20153,
    "h": 307.3
  },
  "luminance": 0.16497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #984CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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