#984CDB#984CDB

#984CDB is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.211 H 305.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#984CDB
RGBrgb(152, 76, 219)
HSLhsl(272, 67%, 58%)
HSVhsv(272, 65%, 86%)
CMYKcmyk(30.6%, 65.3%, 0%, 14.1%)
CIE-LABlab(48.21, 57.18, -60.91)
CIE-LCHlch(48.21, 83.54, 313.19°)
OKLaboklab(57.85% 0.1213 -0.1727)
OKLCHoklch(57.85% 0.211 305.1)
XYZxyz(28.3167, 16.9589, 68.7857)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CDB #8FDB4C
analogous
#504CDB #984CDB #DB4CD7
triadic
#984CDB #DB984C #4CDB98
tetradic
#984CDB #DB504C #8FDB4C #4CD7DB
square
#984CDB #DB504C #8FDB4C #4CD7DB
split-complementary
#984CDB #D7DB4C #4CDB50
monochromatic
#5A1D90 #7A27C3 #984CDB #B57FE5 #D3B2EF

Accessibility & contrast

On white

4.78
#984CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#984CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CDB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CDB#FFFFFF#000000##FFFFFF
##984CDB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#2273D8
Tritanopia (blue-blind)
#8C6B8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #984cdb;
/* rgb */ color: rgb(152, 76, 219);
/* oklch */ color: oklch(57.8% 0.211 305.1);
Tailwind
colors: {
  custom: {
    50: '#bb83e7',
    500: '#984cdb',
    950: '#000000',
  },
}
SCSS
$custom: #984cdb;
$custom-light: #bb83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#984cdb",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 271.888,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57848,
    "c": 0.21106,
    "h": 305.1
  },
  "luminance": 0.16959
}

Semantic roles & 50–950 ramp

primary
#984CDB
secondary
#C0DEA5
accent
#E93E8F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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