#984BC8#984BC8

#984BC8 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.5% C 0.192 H 310.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#984BC8
RGBrgb(152, 75, 200)
HSLhsl(277, 53%, 54%)
HSVhsv(277, 63%, 78%)
CMYKcmyk(24%, 62.5%, 0%, 21.6%)
CIE-LABlab(46.81, 53.36, -52.26)
CIE-LCHlch(46.81, 74.69, 315.60°)
OKLaboklab(56.45% 0.1236 -0.1473)
OKLCHoklch(56.45% 0.192 310)
XYZxyz(25.8883, 15.8782, 56.3334)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BC8 #7BC84B
analogous
#5A4BC8 #984BC8 #C84BBA
triadic
#984BC8 #C8984B #4BC898
tetradic
#984BC8 #C85A4B #7BC84B #4BBAC8
square
#984BC8 #C85A4B #7BC84B #4BBAC8
split-complementary
#984BC8 #BAC84B #4BC85A
monochromatic
#562475 #7832A4 #984BC8 #B37AD6 #CEA9E5

Accessibility & contrast

On white

5.03
#984BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#984BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BC8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BC8#FFFFFF#000000##FFFFFF
##984BC81.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6CCC
Deuteranopia (green-blind)
#3B70C5
Tritanopia (blue-blind)
#926483
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984bc8;
/* rgb */ color: rgb(152, 75, 200);
/* oklch */ color: oklch(56.5% 0.192 310.0);
Tailwind
colors: {
  custom: {
    50: '#ba82d9',
    500: '#984bc8',
    950: '#000000',
  },
}
SCSS
$custom: #984bc8;
$custom-light: #ba82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#984bc8",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 276.96,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56454,
    "c": 0.19234,
    "h": 310
  },
  "luminance": 0.15878
}

Semantic roles & 50–950 ramp

primary
#984BC8
secondary
#B1D29D
accent
#DD4B83
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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