#984CC8#984CC8

#984CC8 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.6% C 0.191 H 309.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#984CC8
RGBrgb(152, 76, 200)
HSLhsl(277, 53%, 54%)
HSVhsv(277, 62%, 78%)
CMYKcmyk(24%, 62%, 0%, 21.6%)
CIE-LABlab(46.99, 52.87, -51.97)
CIE-LCHlch(46.99, 74.13, 315.49°)
OKLaboklab(56.58% 0.1224 -0.1465)
OKLCHoklch(56.58% 0.191 309.9)
XYZxyz(25.9567, 16.0149, 56.3562)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CC8 #7CC84C
analogous
#5A4CC8 #984CC8 #C84CBA
triadic
#984CC8 #C8984C #4CC898
tetradic
#984CC8 #C85A4C #7CC84C #4CBAC8
square
#984CC8 #C85A4C #7CC84C #4CBAC8
split-complementary
#984CC8 #BAC84C #4CC85A
monochromatic
#562475 #7832A4 #984CC8 #B37BD6 #CEAAE5

Accessibility & contrast

On white

5.00
#984CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#984CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CC8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CC8#FFFFFF#000000##FFFFFF
##984CC81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116CCC
Deuteranopia (green-blind)
#3C71C5
Tritanopia (blue-blind)
#926483
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984cc8;
/* rgb */ color: rgb(152, 76, 200);
/* oklch */ color: oklch(56.6% 0.191 309.9);
Tailwind
colors: {
  custom: {
    50: '#ba82d9',
    500: '#984cc8',
    950: '#000000',
  },
}
SCSS
$custom: #984cc8;
$custom-light: #ba82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#984cc8",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 276.774,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56584,
    "c": 0.19092,
    "h": 309.9
  },
  "luminance": 0.16014
}

Semantic roles & 50–950 ramp

primary
#984CC8
secondary
#B2D29E
accent
#DC4B84
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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