#984CD8#984CD8

#984CD8 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.208 H 305.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#984CD8
RGBrgb(152, 76, 216)
HSLhsl(273, 64%, 57%)
HSVhsv(273, 65%, 85%)
CMYKcmyk(29.6%, 64.8%, 0%, 15.3%)
CIE-LABlab(48.01, 56.49, -59.52)
CIE-LCHlch(48.01, 82.06, 313.51°)
OKLaboklab(57.64% 0.1216 -0.1686)
OKLCHoklch(57.64% 0.208 305.8)
XYZxyz(27.9253, 16.8024, 66.7245)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CD8 #8CD84C
analogous
#524CD8 #984CD8 #D84CD2
triadic
#984CD8 #D8984C #4CD898
tetradic
#984CD8 #D8524C #8CD84C #4CD2D8
square
#984CD8 #D8524C #8CD84C #4CD2D8
split-complementary
#984CD8 #D2D84C #4CD852
monochromatic
#591E8B #7A29BE #984CD8 #B57EE3 #D2B1EE

Accessibility & contrast

On white

4.82
#984CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#984CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CD8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CD8#FFFFFF#000000##FFFFFF
##984CD81.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#2872D5
Tritanopia (blue-blind)
#8D6A8B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #984cd8;
/* rgb */ color: rgb(152, 76, 216);
/* oklch */ color: oklch(57.6% 0.208 305.8);
Tailwind
colors: {
  custom: {
    50: '#bb83e5',
    500: '#984cd8',
    950: '#000000',
  },
}
SCSS
$custom: #984cd8;
$custom-light: #bb83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#984cd8",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 272.571,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57643,
    "c": 0.20789,
    "h": 305.8
  },
  "luminance": 0.16802
}

Semantic roles & 50–950 ramp

primary
#984CD8
secondary
#BDDCA4
accent
#E7418D
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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