#984BDB#984BDB

#984BDB is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.7% C 0.212 H 305.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#984BDB
RGBrgb(152, 75, 219)
HSLhsl(272, 67%, 58%)
HSVhsv(272, 66%, 86%)
CMYKcmyk(30.6%, 65.8%, 0%, 14.1%)
CIE-LABlab(48.04, 57.66, -61.19)
CIE-LCHlch(48.04, 84.07, 313.30°)
OKLaboklab(57.72% 0.1224 -0.1735)
OKLCHoklch(57.72% 0.212 305.2)
XYZxyz(28.2483, 16.8222, 68.7629)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BDB #8EDB4B
analogous
#504BDB #984BDB #DB4BD6
triadic
#984BDB #DB984B #4BDB98
tetradic
#984BDB #DB504B #8EDB4B #4BD6DB
square
#984BDB #DB504B #8EDB4B #4BD6DB
split-complementary
#984BDB #D6DB4B #4BDB50
monochromatic
#5A1D8F #7A27C2 #984BDB #B57EE5 #D2B1EF

Accessibility & contrast

On white

4.81
#984BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #984BDB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BDB#FFFFFF#000000##FFFFFF
##984BDB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #984bdb;
/* rgb */ color: rgb(152, 75, 219);
/* oklch */ color: oklch(57.7% 0.212 305.2);
Tailwind
colors: {
  custom: {
    50: '#bb82e7',
    500: '#984bdb',
    950: '#000000',
  },
}
SCSS
$custom: #984bdb;
$custom-light: #bb82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#984bdb",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 272.083,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57724,
    "c": 0.21236,
    "h": 305.2
  },
  "luminance": 0.16822
}

Semantic roles & 50–950 ramp

primary
#984BDB
secondary
#BFDEA4
accent
#EA3E8E
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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