#984BE2#984BE2

#984BE2 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.220 H 303.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#984BE2
RGBrgb(152, 75, 226)
HSLhsl(271, 72%, 59%)
HSVhsv(271, 67%, 89%)
CMYKcmyk(32.7%, 66.8%, 0%, 11.4%)
CIE-LABlab(48.51, 59.28, -64.40)
CIE-LCHlch(48.51, 87.53, 312.63°)
OKLaboklab(58.21% 0.1217 -0.183)
OKLCHoklch(58.21% 0.22 303.6)
XYZxyz(29.1893, 17.1986, 73.7187)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BE2 #95E24B
analogous
#4D4BE2 #984BE2 #E24BE1
triadic
#984BE2 #E2984B #4BE298
tetradic
#984BE2 #E24D4B #95E24B #4BE1E2
square
#984BE2 #E24D4B #95E24B #4BE1E2
split-complementary
#984BE2 #E1E24B #4BE24D
monochromatic
#5B199A #7A21CF #984BE2 #B680EA #D4B4F3

Accessibility & contrast

On white

4.73
#984BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#984BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BE2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BE2#FFFFFF#000000##FFFFFF
##984BE21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0873DF
Tritanopia (blue-blind)
#8A6D91
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984be2;
/* rgb */ color: rgb(152, 75, 226);
/* oklch */ color: oklch(58.2% 0.220 303.6);
Tailwind
colors: {
  custom: {
    50: '#bb82ec',
    500: '#984be2',
    950: '#000000',
  },
}
SCSS
$custom: #984be2;
$custom-light: #bb82ec;
$custom-dark: #000000;
JSON
{
  "hex": "#984be2",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 270.596,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58214,
    "c": 0.21973,
    "h": 303.6
  },
  "luminance": 0.17199
}

Semantic roles & 50–950 ramp

primary
#984BE2
secondary
#C4E2A7
accent
#EF3992
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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