#984BE1#984BE1

#984BE1 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.1% C 0.219 H 303.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#984BE1
RGBrgb(152, 75, 225)
HSLhsl(271, 71%, 59%)
HSVhsv(271, 67%, 88%)
CMYKcmyk(32.4%, 66.7%, 0%, 11.8%)
CIE-LABlab(48.44, 59.05, -63.94)
CIE-LCHlch(48.44, 87.03, 312.72°)
OKLaboklab(58.14% 0.1218 -0.1816)
OKLCHoklch(58.14% 0.219 303.8)
XYZxyz(29.0525, 17.1439, 72.9981)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BE1 #94E14B
analogous
#4D4BE1 #984BE1 #E14BDF
triadic
#984BE1 #E1984B #4BE198
tetradic
#984BE1 #E14D4B #94E14B #4BDFE1
square
#984BE1 #E14D4B #94E14B #4BDFE1
split-complementary
#984BE1 #DFE14B #4BE14D
monochromatic
#5A1998 #7A22CD #984BE1 #B67FEA #D4B4F2

Accessibility & contrast

On white

4.74
#984BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#984BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BE1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BE1#FFFFFF#000000##FFFFFF
##984BE11.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0E73DE
Tritanopia (blue-blind)
#8A6D90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #984be1;
/* rgb */ color: rgb(152, 75, 225);
/* oklch */ color: oklch(58.1% 0.219 303.8);
Tailwind
colors: {
  custom: {
    50: '#bb82eb',
    500: '#984be1',
    950: '#000000',
  },
}
SCSS
$custom: #984be1;
$custom-light: #bb82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#984be1",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 270.8,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58144,
    "c": 0.21868,
    "h": 303.8
  },
  "luminance": 0.17144
}

Semantic roles & 50–950 ramp

primary
#984BE1
secondary
#C3E1A6
accent
#EE3A91
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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