#984BC2#984BC2

#984BC2 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.1% C 0.186 H 311.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#984BC2
RGBrgb(152, 75, 194)
HSLhsl(279, 49%, 53%)
HSVhsv(279, 61%, 76%)
CMYKcmyk(21.6%, 61.3%, 0%, 23.9%)
CIE-LABlab(46.45, 52.04, -49.37)
CIE-LCHlch(46.45, 71.73, 316.51°)
OKLaboklab(56.07% 0.1238 -0.1389)
OKLCHoklch(56.07% 0.186 311.7)
XYZxyz(25.2008, 15.6032, 52.7127)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BC2 #75C24B
analogous
#5D4BC2 #984BC2 #C24BB0
triadic
#984BC2 #C2984B #4BC298
tetradic
#984BC2 #C25D4B #75C24B #4BB0C2
square
#984BC2 #C25D4B #75C24B #4BB0C2
split-complementary
#984BC2 #B0C24B #4BC25D
monochromatic
#54256D #77359B #984BC2 #B279D1 #CCA6E1

Accessibility & contrast

On white

5.10
#984BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#984BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BC2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BC2#FFFFFF#000000##FFFFFF
##984BC21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6AC6
Deuteranopia (green-blind)
#4170BF
Tritanopia (blue-blind)
#936180
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #984bc2;
/* rgb */ color: rgb(152, 75, 194);
/* oklch */ color: oklch(56.1% 0.186 311.7);
Tailwind
colors: {
  custom: {
    50: '#ba81d5',
    500: '#984bc2',
    950: '#000000',
  },
}
SCSS
$custom: #984bc2;
$custom-light: #ba81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#984bc2",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 278.824,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56072,
    "c": 0.18602,
    "h": 311.7
  },
  "luminance": 0.15603
}

Semantic roles & 50–950 ramp

primary
#984BC2
secondary
#ADCE9B
accent
#D94F80
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #984BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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