#984BD8#984BD8

#984BD8 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.209 H 305.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#984BD8
RGBrgb(152, 75, 216)
HSLhsl(273, 64%, 57%)
HSVhsv(273, 65%, 85%)
CMYKcmyk(29.6%, 65.3%, 0%, 15.3%)
CIE-LABlab(47.84, 56.97, -59.80)
CIE-LCHlch(47.84, 82.59, 313.61°)
OKLaboklab(57.52% 0.1227 -0.1695)
OKLCHoklch(57.52% 0.209 305.9)
XYZxyz(27.8570, 16.6657, 66.7017)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BD8 #8BD84B
analogous
#524BD8 #984BD8 #D84BD2
triadic
#984BD8 #D8984B #4BD898
tetradic
#984BD8 #D8524B #8BD84B #4BD2D8
square
#984BD8 #D8524B #8BD84B #4BD2D8
split-complementary
#984BD8 #D2D84B #4BD852
monochromatic
#591E8B #7A29BD #984BD8 #B57DE3 #D2B0EE

Accessibility & contrast

On white

4.85
#984BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#984BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BD8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BD8#FFFFFF#000000##FFFFFF
##984BD81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#2672D5
Tritanopia (blue-blind)
#8D698B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984bd8;
/* rgb */ color: rgb(152, 75, 216);
/* oklch */ color: oklch(57.5% 0.209 305.9);
Tailwind
colors: {
  custom: {
    50: '#bb82e5',
    500: '#984bd8',
    950: '#000000',
  },
}
SCSS
$custom: #984bd8;
$custom-light: #bb82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#984bd8",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 272.766,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57517,
    "c": 0.20921,
    "h": 305.9
  },
  "luminance": 0.16665
}

Semantic roles & 50–950 ramp

primary
#984BD8
secondary
#BDDCA3
accent
#E7408C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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