#984CCB#984CCB

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

Color values

HEX#984CCB
RGBrgb(152, 76, 203)
HSLhsl(276, 55%, 55%)
HSVhsv(276, 63%, 80%)
CMYKcmyk(25.1%, 62.6%, 0%, 20.4%)
CIE-LABlab(47.18, 53.54, -53.40)
CIE-LCHlch(47.18, 75.62, 315.07°)
OKLaboklab(56.78% 0.1223 -0.1507)
OKLCHoklch(56.78% 0.194 309.1)
XYZxyz(26.3107, 16.1565, 58.2208)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CCB #7FCB4C
analogous
#594CCB #984CCB #CB4CBE
triadic
#984CCB #CB984C #4CCB98
tetradic
#984CCB #CB594C #7FCB4C #4CBECB
square
#984CCB #CB594C #7FCB4C #4CBECB
split-complementary
#984CCB #BECB4C #4CCB59
monochromatic
#572379 #7931A9 #984CCB #B37BD9 #CFABE7

Accessibility & contrast

On white

4.96
#984CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#984CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CCB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CCB#FFFFFF#000000##FFFFFF
##984CCB1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056DCF
Deuteranopia (green-blind)
#3971C8
Tritanopia (blue-blind)
#916585
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984ccb;
/* rgb */ color: rgb(152, 76, 203);
/* oklch */ color: oklch(56.8% 0.194 309.1);
Tailwind
colors: {
  custom: {
    50: '#ba82db',
    500: '#984ccb',
    950: '#000000',
  },
}
SCSS
$custom: #984ccb;
$custom-light: #ba82db;
$custom-dark: #000000;
JSON
{
  "hex": "#984ccb",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 275.906,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56778,
    "c": 0.1941,
    "h": 309.1
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#984CCB
secondary
#B4D49F
accent
#DE4985
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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