#984BC7#984BC7

#984BC7 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.4% C 0.191 H 310.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#984BC7
RGBrgb(152, 75, 199)
HSLhsl(277, 53%, 54%)
HSVhsv(277, 62%, 78%)
CMYKcmyk(23.6%, 62.3%, 0%, 22%)
CIE-LABlab(46.75, 53.14, -51.78)
CIE-LCHlch(46.75, 74.19, 315.74°)
OKLaboklab(56.39% 0.1237 -0.1459)
OKLCHoklch(56.39% 0.191 310.3)
XYZxyz(25.7718, 15.8316, 55.7199)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BC7 #7AC74B
analogous
#5A4BC7 #984BC7 #C74BB8
triadic
#984BC7 #C7984B #4BC798
tetradic
#984BC7 #C75A4B #7AC74B #4BB8C7
square
#984BC7 #C75A4B #7AC74B #4BB8C7
split-complementary
#984BC7 #B8C74B #4BC75A
monochromatic
#552474 #7832A2 #984BC7 #B37AD6 #CDA8E4

Accessibility & contrast

On white

5.04
#984BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#984BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BC7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BC7#FFFFFF#000000##FFFFFF
##984BC71.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6BCB
Deuteranopia (green-blind)
#3C70C4
Tritanopia (blue-blind)
#926382
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984bc7;
/* rgb */ color: rgb(152, 75, 199);
/* oklch */ color: oklch(56.4% 0.191 310.3);
Tailwind
colors: {
  custom: {
    50: '#ba82d9',
    500: '#984bc7',
    950: '#000000',
  },
}
SCSS
$custom: #984bc7;
$custom-light: #ba82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#984bc7",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 277.258,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5639,
    "c": 0.19128,
    "h": 310.3
  },
  "luminance": 0.15831
}

Semantic roles & 50–950 ramp

primary
#984BC7
secondary
#B0D19C
accent
#DC4C82
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #984BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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