#984BD3#984BD3

#984BD3 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.204 H 307.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#984BD3
RGBrgb(152, 75, 211)
HSLhsl(274, 61%, 56%)
HSVhsv(274, 64%, 83%)
CMYKcmyk(28%, 64.5%, 0%, 17.3%)
CIE-LABlab(47.51, 55.83, -57.47)
CIE-LCHlch(47.51, 80.12, 314.17°)
OKLaboklab(57.18% 0.1231 -0.1626)
OKLCHoklch(57.18% 0.204 307.1)
XYZxyz(27.2204, 16.4110, 63.3490)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BD3 #86D34B
analogous
#544BD3 #984BD3 #D34BCA
triadic
#984BD3 #D3984B #4BD398
tetradic
#984BD3 #D3544B #86D34B #4BCAD3
square
#984BD3 #D3544B #86D34B #4BCAD3
split-complementary
#984BD3 #CAD34B #4BD354
monochromatic
#582083 #792CB5 #984BD3 #B47CDF #D0ADEB

Accessibility & contrast

On white

4.90
#984BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#984BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BD3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BD3#FFFFFF#000000##FFFFFF
##984BD31.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#2E71D0
Tritanopia (blue-blind)
#8E6788
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984bd3;
/* rgb */ color: rgb(152, 75, 211);
/* oklch */ color: oklch(57.2% 0.204 307.1);
Tailwind
colors: {
  custom: {
    50: '#ba82e1',
    500: '#984bd3',
    950: '#000000',
  },
}
SCSS
$custom: #984bd3;
$custom-light: #ba82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#984bd3",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 273.971,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57178,
    "c": 0.20393,
    "h": 307.1
  },
  "luminance": 0.16411
}

Semantic roles & 50–950 ramp

primary
#984BD3
secondary
#B9D9A1
accent
#E44489
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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