#984BEA#984BEA

#984BEA is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.228 H 301.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#984BEA
RGBrgb(152, 75, 234)
HSLhsl(269, 79%, 61%)
HSVhsv(269, 68%, 92%)
CMYKcmyk(35%, 67.9%, 0%, 8.2%)
CIE-LABlab(49.07, 61.15, -68.01)
CIE-LCHlch(49.07, 91.46, 311.96°)
OKLaboklab(58.79% 0.1206 -0.1936)
OKLCHoklch(58.79% 0.228 301.9)
XYZxyz(30.3127, 17.6480, 79.6354)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BEA #9DEA4B
analogous
#4B4DEA #984BEA #E84BEA
triadic
#984BEA #EA984B #4BEA98
tetradic
#984BEA #EA4B4D #9DEA4B #4BEAE8
square
#984BEA #EA4B4D #9DEA4B #4BEAE8
split-complementary
#984BEA #EAE84B #4DEA4B
monochromatic
#5B13A7 #791ADE #984BEA #B782F0 #D7B9F7

Accessibility & contrast

On white

4.64
#984BEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#984BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #984BEA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BEA#FFFFFF#000000##FFFFFF
##984BEA1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#877095
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #984bea;
/* rgb */ color: rgb(152, 75, 234);
/* oklch */ color: oklch(58.8% 0.228 301.9);
Tailwind
colors: {
  custom: {
    50: '#bc83f2',
    500: '#984bea',
    950: '#000000',
  },
}
SCSS
$custom: #984bea;
$custom-light: #bc83f2;
$custom-dark: #000000;
JSON
{
  "hex": "#984bea",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 234
  },
  "hsl": {
    "h": 269.057,
    "s": 79.104,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58789,
    "c": 0.22812,
    "h": 301.9
  },
  "luminance": 0.17648
}

Semantic roles & 50–950 ramp

primary
#984BEA
secondary
#C9E7AA
accent
#DB0A76
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #984BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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