#984FCB#984FCB

#984FCB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.2% C 0.190 H 308.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#984FCB
RGBrgb(152, 79, 203)
HSLhsl(275, 54%, 55%)
HSVhsv(275, 61%, 80%)
CMYKcmyk(25.1%, 61.1%, 0%, 20.4%)
CIE-LABlab(47.73, 52.05, -52.52)
CIE-LCHlch(47.73, 73.95, 314.74°)
OKLaboklab(57.17% 0.1187 -0.1481)
OKLCHoklch(57.17% 0.19 308.7)
XYZxyz(26.5222, 16.5796, 58.2913)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FCB #82CB4F
analogous
#5A4FCB #984FCB #CB4FC0
triadic
#984FCB #CB984F #4FCB98
tetradic
#984FCB #CB5A4F #82CB4F #4FC0CB
square
#984FCB #CB5A4F #82CB4F #4FC0CB
split-complementary
#984FCB #C0CB4F #4FCB5A
monochromatic
#58247B #7932AA #984FCB #B47ED9 #CFADE7

Accessibility & contrast

On white

4.87
#984FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#984FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FCB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FCB#FFFFFF#000000##FFFFFF
##984FCB1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166ECF
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#916786
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #984fcb;
/* rgb */ color: rgb(152, 79, 203);
/* oklch */ color: oklch(57.2% 0.190 308.7);
Tailwind
colors: {
  custom: {
    50: '#ba84db',
    500: '#984fcb',
    950: '#000000',
  },
}
SCSS
$custom: #984fcb;
$custom-light: #ba84db;
$custom-dark: #000000;
JSON
{
  "hex": "#984fcb",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 275.323,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57174,
    "c": 0.18985,
    "h": 308.7
  },
  "luminance": 0.16579
}

Semantic roles & 50–950 ramp

primary
#984FCB
secondary
#B6D5A1
accent
#DE4A87
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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