#984BCA#984BCA

#984BCA is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.6% C 0.194 H 309.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#984BCA
RGBrgb(152, 75, 202)
HSLhsl(276, 55%, 54%)
HSVhsv(276, 63%, 79%)
CMYKcmyk(24.8%, 62.9%, 0%, 20.8%)
CIE-LABlab(46.94, 53.80, -53.21)
CIE-LCHlch(46.94, 75.67, 315.32°)
OKLaboklab(56.58% 0.1236 -0.1501)
OKLCHoklch(56.58% 0.194 309.5)
XYZxyz(26.1236, 15.9723, 57.5724)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BCA #7DCA4B
analogous
#594BCA #984BCA #CA4BBC
triadic
#984BCA #CA984B #4BCA98
tetradic
#984BCA #CA594B #7DCA4B #4BBCCA
square
#984BCA #CA594B #7DCA4B #4BBCCA
split-complementary
#984BCA #BCCA4B #4BCA59
monochromatic
#562377 #7831A7 #984BCA #B37AD8 #CEAAE6

Accessibility & contrast

On white

5.01
#984BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#984BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BCA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BCA#FFFFFF#000000##FFFFFF
##984BCA1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036CCE
Deuteranopia (green-blind)
#3970C7
Tritanopia (blue-blind)
#916484
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984bca;
/* rgb */ color: rgb(152, 75, 202);
/* oklch */ color: oklch(56.6% 0.194 309.5);
Tailwind
colors: {
  custom: {
    50: '#ba82db',
    500: '#984bca',
    950: '#000000',
  },
}
SCSS
$custom: #984bca;
$custom-light: #ba82db;
$custom-dark: #000000;
JSON
{
  "hex": "#984bca",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 276.378,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56583,
    "c": 0.19444,
    "h": 309.5
  },
  "luminance": 0.15972
}

Semantic roles & 50–950 ramp

primary
#984BCA
secondary
#B3D39D
accent
#DE4A84
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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