#984BDF#984BDF

#984BDF is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.217 H 304.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#984BDF
RGBrgb(152, 75, 223)
HSLhsl(271, 70%, 58%)
HSVhsv(271, 66%, 87%)
CMYKcmyk(31.8%, 66.4%, 0%, 12.5%)
CIE-LABlab(48.30, 58.58, -63.02)
CIE-LCHlch(48.30, 86.05, 312.91°)
OKLaboklab(58% 0.122 -0.1789)
OKLCHoklch(58% 0.217 304.3)
XYZxyz(28.7812, 17.0354, 71.5696)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BDF #92DF4B
analogous
#4E4BDF #984BDF #DF4BDC
triadic
#984BDF #DF984B #4BDF98
tetradic
#984BDF #DF4E4B #92DF4B #4BDCDF
square
#984BDF #DF4E4B #92DF4B #4BDCDF
split-complementary
#984BDF #DCDF4B #4BDF4E
monochromatic
#5A1B95 #7A24C9 #984BDF #B67FE8 #D3B3F1

Accessibility & contrast

On white

4.77
#984BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#984BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BDF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BDF#FFFFFF#000000##FFFFFF
##984BDF1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#1573DC
Tritanopia (blue-blind)
#8B6C8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984bdf;
/* rgb */ color: rgb(152, 75, 223);
/* oklch */ color: oklch(58.0% 0.217 304.3);
Tailwind
colors: {
  custom: {
    50: '#bb82ea',
    500: '#984bdf',
    950: '#000000',
  },
}
SCSS
$custom: #984bdf;
$custom-light: #bb82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#984bdf",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 271.216,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58003,
    "c": 0.21658,
    "h": 304.3
  },
  "luminance": 0.17035
}

Semantic roles & 50–950 ramp

primary
#984BDF
secondary
#C2E0A6
accent
#ED3B90
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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