#984ACD#984ACD

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

Color values

HEX#984ACD
RGBrgb(152, 74, 205)
HSLhsl(276, 57%, 55%)
HSVhsv(276, 64%, 80%)
CMYKcmyk(25.9%, 63.9%, 0%, 19.6%)
CIE-LABlab(46.95, 54.96, -54.92)
CIE-LCHlch(46.95, 77.70, 315.02°)
OKLaboklab(56.65% 0.1246 -0.1551)
OKLCHoklch(56.65% 0.199 308.8)
XYZxyz(26.4149, 15.9812, 59.4389)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984ACD #7FCD4A
analogous
#564ACD #984ACD #CD4AC1
triadic
#984ACD #CD984A #4ACD98
tetradic
#984ACD #CD564A #7FCD4A #4AC1CD
square
#984ACD #CD564A #7FCD4A #4AC1CD
split-complementary
#984ACD #C1CD4A #4ACD56
monochromatic
#57227B #792FAB #984ACD #B37ADA #CFAAE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##984ACD#FFFFFF#000000##FFFFFF
##984ACD1.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)
#006CD1
Deuteranopia (green-blind)
#3570CA
Tritanopia (blue-blind)
#906585
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984acd;
/* rgb */ color: rgb(152, 74, 205);
/* oklch */ color: oklch(56.7% 0.199 308.8);
Tailwind
colors: {
  custom: {
    50: '#ba81dd',
    500: '#984acd',
    950: '#000000',
  },
}
SCSS
$custom: #984acd;
$custom-light: #ba81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#984acd",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 205
  },
  "hsl": {
    "h": 275.725,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56652,
    "c": 0.19898,
    "h": 308.8
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#984ACD
secondary
#B4D59E
accent
#E04885
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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