#984CCC#984CCC

#984CCC is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.195 H 308.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#984CCC
RGBrgb(152, 76, 204)
HSLhsl(276, 56%, 55%)
HSVhsv(276, 63%, 80%)
CMYKcmyk(25.5%, 62.7%, 0%, 20%)
CIE-LABlab(47.24, 53.76, -53.88)
CIE-LCHlch(47.24, 76.11, 314.94°)
OKLaboklab(56.84% 0.1223 -0.1521)
OKLCHoklch(56.84% 0.195 308.8)
XYZxyz(26.4302, 16.2044, 58.8504)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CCC #80CC4C
analogous
#584CCC #984CCC #CC4CC0
triadic
#984CCC #CC984C #4CCC98
tetradic
#984CCC #CC584C #80CC4C #4CC0CC
square
#984CCC #CC584C #80CC4C #4CC0CC
split-complementary
#984CCC #C0CC4C #4CCC58
monochromatic
#57237B #7931AA #984CCC #B37CDA #CFABE7

Accessibility & contrast

On white

4.95
#984CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#984CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CCC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CCC#FFFFFF#000000##FFFFFF
##984CCC1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016DD0
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#906685
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984ccc;
/* rgb */ color: rgb(152, 76, 204);
/* oklch */ color: oklch(56.8% 0.195 308.8);
Tailwind
colors: {
  custom: {
    50: '#ba82dc',
    500: '#984ccc',
    950: '#000000',
  },
}
SCSS
$custom: #984ccc;
$custom-light: #ba82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#984ccc",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 275.625,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56843,
    "c": 0.19516,
    "h": 308.8
  },
  "luminance": 0.16204
}

Semantic roles & 50–950 ramp

primary
#984CCC
secondary
#B5D59F
accent
#DF4986
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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