#984BCB#984BCB

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

Color values

HEX#984BCB
RGBrgb(152, 75, 203)
HSLhsl(276, 55%, 55%)
HSVhsv(276, 63%, 80%)
CMYKcmyk(25.1%, 63.1%, 0%, 20.4%)
CIE-LABlab(47.00, 54.03, -53.69)
CIE-LCHlch(47.00, 76.17, 315.18°)
OKLaboklab(56.65% 0.1235 -0.1515)
OKLCHoklch(56.65% 0.196 309.2)
XYZxyz(26.2423, 16.0198, 58.1980)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BCB #7ECB4B
analogous
#584BCB #984BCB #CB4BBE
triadic
#984BCB #CB984B #4BCB98
tetradic
#984BCB #CB584B #7ECB4B #4BBECB
square
#984BCB #CB584B #7ECB4B #4BBECB
split-complementary
#984BCB #BECB4B #4BCB58
monochromatic
#572379 #7931A8 #984BCB #B37AD9 #CEAAE6

Accessibility & contrast

On white

5.00
#984BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#984BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BCB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BCB#FFFFFF#000000##FFFFFF
##984BCB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#3870C8
Tritanopia (blue-blind)
#916584
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984bcb;
/* rgb */ color: rgb(152, 75, 203);
/* oklch */ color: oklch(56.6% 0.196 309.2);
Tailwind
colors: {
  custom: {
    50: '#ba82db',
    500: '#984bcb',
    950: '#000000',
  },
}
SCSS
$custom: #984bcb;
$custom-light: #ba82db;
$custom-dark: #000000;
JSON
{
  "hex": "#984bcb",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 276.094,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56648,
    "c": 0.1955,
    "h": 309.2
  },
  "luminance": 0.16019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #984BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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