#984BD5#984BD5

#984BD5 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.206 H 306.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#984BD5
RGBrgb(152, 75, 213)
HSLhsl(273, 62%, 56%)
HSVhsv(273, 65%, 84%)
CMYKcmyk(28.6%, 64.8%, 0%, 16.5%)
CIE-LABlab(47.64, 56.28, -58.40)
CIE-LCHlch(47.64, 81.11, 313.94°)
OKLaboklab(57.31% 0.1229 -0.1654)
OKLCHoklch(57.31% 0.206 306.6)
XYZxyz(27.4727, 16.5119, 64.6777)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BD5 #88D54B
analogous
#534BD5 #984BD5 #D54BCD
triadic
#984BD5 #D5984B #4BD598
tetradic
#984BD5 #D5534B #88D54B #4BCDD5
square
#984BD5 #D5534B #88D54B #4BCDD5
split-complementary
#984BD5 #CDD54B #4BD553
monochromatic
#591F86 #7A2BB8 #984BD5 #B47DE1 #D1AEEC

Accessibility & contrast

On white

4.88
#984BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#984BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BD5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BD5#FFFFFF#000000##FFFFFF
##984BD51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#2B72D2
Tritanopia (blue-blind)
#8E688A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984bd5;
/* rgb */ color: rgb(152, 75, 213);
/* oklch */ color: oklch(57.3% 0.206 306.6);
Tailwind
colors: {
  custom: {
    50: '#bb82e3',
    500: '#984bd5',
    950: '#000000',
  },
}
SCSS
$custom: #984bd5;
$custom-light: #bb82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#984bd5",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 273.478,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57313,
    "c": 0.20604,
    "h": 306.6
  },
  "luminance": 0.16512
}

Semantic roles & 50–950 ramp

primary
#984BD5
secondary
#BBDAA2
accent
#E5438A
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #984BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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