#984FBE#984FBE

#984FBE is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.4% C 0.176 H 312.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#984FBE
RGBrgb(152, 79, 190)
HSLhsl(279, 46%, 53%)
HSVhsv(279, 58%, 75%)
CMYKcmyk(20%, 58.4%, 0%, 25.5%)
CIE-LABlab(46.96, 49.16, -46.24)
CIE-LCHlch(46.96, 67.49, 316.75°)
OKLaboklab(56.36% 0.1187 -0.1297)
OKLCHoklch(56.36% 0.176 312.5)
XYZxyz(25.0375, 15.9857, 50.4718)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FBE #75BE4F
analogous
#604FBE #984FBE #BE4FAD
triadic
#984FBE #BE984F #4FBE98
tetradic
#984FBE #BE604F #75BE4F #4FADBE
square
#984FBE #BE604F #75BE4F #4FADBE
split-complementary
#984FBE #ADBE4F #4FBE60
monochromatic
#54286B #773898 #984FBE #B27CCF #CCA8DF

Accessibility & contrast

On white

5.00
#984FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#984FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FBE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FBE#FFFFFF#000000##FFFFFF
##984FBE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC2
Deuteranopia (green-blind)
#4871BB
Tritanopia (blue-blind)
#94637F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #984fbe;
/* rgb */ color: rgb(152, 79, 190);
/* oklch */ color: oklch(56.4% 0.176 312.5);
Tailwind
colors: {
  custom: {
    50: '#b984d2',
    500: '#984fbe',
    950: '#000000',
  },
}
SCSS
$custom: #984fbe;
$custom-light: #b984d2;
$custom-dark: #000000;
JSON
{
  "hex": "#984fbe",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 279.459,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56365,
    "c": 0.17585,
    "h": 312.5
  },
  "luminance": 0.15985
}

Semantic roles & 50–950 ramp

primary
#984FBE
secondary
#ADCC9C
accent
#D6527F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #984FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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