#984BCC#984BCC

#984BCC is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.197 H 308.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#984BCC
RGBrgb(152, 75, 204)
HSLhsl(276, 56%, 55%)
HSVhsv(276, 63%, 80%)
CMYKcmyk(25.5%, 63.2%, 0%, 20%)
CIE-LABlab(47.06, 54.25, -54.16)
CIE-LCHlch(47.06, 76.66, 315.05°)
OKLaboklab(56.71% 0.1235 -0.1529)
OKLCHoklch(56.71% 0.197 308.9)
XYZxyz(26.3619, 16.0676, 58.8277)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BCC #7FCC4B
analogous
#584BCC #984BCC #CC4BBF
triadic
#984BCC #CC984B #4BCC98
tetradic
#984BCC #CC584B #7FCC4B #4BBFCC
square
#984BCC #CC584B #7FCC4B #4BBFCC
split-complementary
#984BCC #BFCC4B #4BCC58
monochromatic
#57237A #7930AA #984BCC #B37BDA #CFAAE7

Accessibility & contrast

On white

4.98
#984BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#984BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BCC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BCC#FFFFFF#000000##FFFFFF
##984BCC1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#3771C9
Tritanopia (blue-blind)
#906585
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984bcc;
/* rgb */ color: rgb(152, 75, 204);
/* oklch */ color: oklch(56.7% 0.197 308.9);
Tailwind
colors: {
  custom: {
    50: '#ba82dc',
    500: '#984bcc',
    950: '#000000',
  },
}
SCSS
$custom: #984bcc;
$custom-light: #ba82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#984bcc",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 275.814,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56714,
    "c": 0.19655,
    "h": 308.9
  },
  "luminance": 0.16067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #984BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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