#984CF3#984CF3

#984CF3 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.6% C 0.236 H 300.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#984CF3
RGBrgb(152, 76, 243)
HSLhsl(267, 87%, 63%)
HSVhsv(267, 69%, 95%)
CMYKcmyk(37.4%, 68.7%, 0%, 4.7%)
CIE-LABlab(49.88, 62.82, -71.75)
CIE-LCHlch(49.88, 95.37, 311.20°)
OKLaboklab(59.57% 0.1183 -0.2046)
OKLCHoklch(59.57% 0.236 300)
XYZxyz(31.7070, 18.3151, 86.6413)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CF3 #A7F34C
analogous
#4C54F3 #984CF3 #EB4CF3
triadic
#984CF3 #F3984C #4CF398
tetradic
#984CF3 #F34C54 #A7F34C #4CF3EB
square
#984CF3 #F34C54 #A7F34C #4CF3EB
split-complementary
#984CF3 #F3EB4C #54F34C
monochromatic
#5B0CB8 #7713EF #984CF3 #B985F7 #DABFFB

Accessibility & contrast

On white

4.50
#984CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#984CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #984CF3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CF3#FFFFFF#000000##000000
##984CF31.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#83749A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #984cf3;
/* rgb */ color: rgb(152, 76, 243);
/* oklch */ color: oklch(59.6% 0.236 300.0);
Tailwind
colors: {
  custom: {
    50: '#bd83f8',
    500: '#984cf3',
    950: '#000000',
  },
}
SCSS
$custom: #984cf3;
$custom-light: #bd83f8;
$custom-dark: #000000;
JSON
{
  "hex": "#984cf3",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 243
  },
  "hsl": {
    "h": 267.305,
    "s": 87.435,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59569,
    "c": 0.23636,
    "h": 300
  },
  "luminance": 0.18315
}

Semantic roles & 50–950 ramp

primary
#984CF3
secondary
#D0ECAF
accent
#E4027D
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #984CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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