#984CCD#984CCD

#984CCD is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.9% C 0.196 H 308.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#984CCD
RGBrgb(152, 76, 205)
HSLhsl(275, 56%, 55%)
HSVhsv(275, 63%, 80%)
CMYKcmyk(25.9%, 62.9%, 0%, 19.6%)
CIE-LABlab(47.30, 53.99, -54.35)
CIE-LCHlch(47.30, 76.61, 314.81°)
OKLaboklab(56.91% 0.1223 -0.1535)
OKLCHoklch(56.91% 0.196 308.5)
XYZxyz(26.5506, 16.2525, 59.4841)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CCD #81CD4C
analogous
#584CCD #984CCD #CD4CC1
triadic
#984CCD #CD984C #4CCD98
tetradic
#984CCD #CD584C #81CD4C #4CC1CD
square
#984CCD #CD584C #81CD4C #4CC1CD
split-complementary
#984CCD #C1CD4C #4CCD58
monochromatic
#57237C #7930AC #984CCD #B47CDA #CFACE8

Accessibility & contrast

On white

4.94
#984CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#984CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CCD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CCD#FFFFFF#000000##FFFFFF
##984CCD1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#906686
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984ccd;
/* rgb */ color: rgb(152, 76, 205);
/* oklch */ color: oklch(56.9% 0.196 308.5);
Tailwind
colors: {
  custom: {
    50: '#ba82dd',
    500: '#984ccd',
    950: '#000000',
  },
}
SCSS
$custom: #984ccd;
$custom-light: #ba82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#984ccd",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 275.349,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56908,
    "c": 0.19622,
    "h": 308.5
  },
  "luminance": 0.16252
}

Semantic roles & 50–950 ramp

primary
#984CCD
secondary
#B6D59F
accent
#E04886
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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