#984BE5#984BE5

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

Color values

HEX#984BE5
RGBrgb(152, 75, 229)
HSLhsl(270, 75%, 60%)
HSVhsv(270, 67%, 90%)
CMYKcmyk(33.6%, 67.2%, 0%, 10.2%)
CIE-LABlab(48.72, 59.98, -65.76)
CIE-LCHlch(48.72, 89.00, 312.37°)
OKLaboklab(58.43% 0.1213 -0.187)
OKLCHoklch(58.43% 0.223 303)
XYZxyz(29.6045, 17.3647, 75.9056)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BE5 #98E54B
analogous
#4B4BE5 #984BE5 #E54BE5
triadic
#984BE5 #E5984B #4BE598
tetradic
#984BE5 #E54B4B #98E54B #4BE5E5
square
#984BE5 #E54B4B #98E54B #4BE5E5
split-complementary
#984BE5 #E5E54B #4BE54B
monochromatic
#5B179F #791FD4 #984BE5 #B780ED #D5B6F4

Accessibility & contrast

On white

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

On black

4.47
#984BE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##984BE5#FFFFFF#000000##FFFFFF
##984BE51.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#896E92
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #984be5;
/* rgb */ color: rgb(152, 75, 229);
/* oklch */ color: oklch(58.4% 0.223 303.0);
Tailwind
colors: {
  custom: {
    50: '#bc82ee',
    500: '#984be5',
    950: '#000000',
  },
}
SCSS
$custom: #984be5;
$custom-light: #bc82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#984be5",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 229
  },
  "hsl": {
    "h": 270,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58428,
    "c": 0.22288,
    "h": 303
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#984BE5
secondary
#C6E4A8
accent
#F13694
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #984BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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