#984FDB#984FDB

#984FDB is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.2% C 0.207 H 304.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#984FDB
RGBrgb(152, 79, 219)
HSLhsl(271, 66%, 58%)
HSVhsv(271, 64%, 86%)
CMYKcmyk(30.6%, 63.9%, 0%, 14.1%)
CIE-LABlab(48.74, 55.73, -60.05)
CIE-LCHlch(48.74, 81.93, 312.86°)
OKLaboklab(58.23% 0.118 -0.1702)
OKLCHoklch(58.23% 0.207 304.7)
XYZxyz(28.5282, 17.3820, 68.8562)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FDB #92DB4F
analogous
#524FDB #984FDB #DB4FD8
triadic
#984FDB #DB984F #4FDB98
tetradic
#984FDB #DB524F #92DB4F #4FD8DB
square
#984FDB #DB524F #92DB4F #4FD8DB
split-complementary
#984FDB #D8DB4F #4FDB52
monochromatic
#5A1E92 #7A28C5 #984FDB #B682E5 #D3B5F0

Accessibility & contrast

On white

4.69
#984FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#984FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FDB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FDB#FFFFFF#000000##FFFFFF
##984FDB1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#8C6D8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984fdb;
/* rgb */ color: rgb(152, 79, 219);
/* oklch */ color: oklch(58.2% 0.207 304.7);
Tailwind
colors: {
  custom: {
    50: '#bb85e7',
    500: '#984fdb',
    950: '#000000',
  },
}
SCSS
$custom: #984fdb;
$custom-light: #bb85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#984fdb",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 271.286,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5823,
    "c": 0.20711,
    "h": 304.7
  },
  "luminance": 0.17382
}

Semantic roles & 50–950 ramp

primary
#984FDB
secondary
#C2DFA7
accent
#E93F90
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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