#984FCF#984FCF

#984FCF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.4% C 0.194 H 307.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#984FCF
RGBrgb(152, 79, 207)
HSLhsl(274, 57%, 56%)
HSVhsv(274, 62%, 81%)
CMYKcmyk(26.6%, 61.8%, 0%, 18.8%)
CIE-LABlab(47.97, 52.96, -54.43)
CIE-LCHlch(47.97, 75.94, 314.22°)
OKLaboklab(57.43% 0.1186 -0.1537)
OKLCHoklch(57.43% 0.194 307.7)
XYZxyz(27.0050, 16.7727, 60.8342)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984FCF #86CF4F
analogous
#584FCF #984FCF #CF4FC6
triadic
#984FCF #CF984F #4FCF98
tetradic
#984FCF #CF584F #86CF4F #4FC6CF
square
#984FCF #CF584F #86CF4F #4FC6CF
split-complementary
#984FCF #C6CF4F #4FCF58
monochromatic
#582381 #7930B1 #984FCF #B47FDC #D0AFE9

Accessibility & contrast

On white

4.82
#984FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#984FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984FCF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984FCF#FFFFFF#000000##FFFFFF
##984FCF1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086FD3
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#8F6988
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #984fcf;
/* rgb */ color: rgb(152, 79, 207);
/* oklch */ color: oklch(57.4% 0.194 307.7);
Tailwind
colors: {
  custom: {
    50: '#ba84de',
    500: '#984fcf',
    950: '#000000',
  },
}
SCSS
$custom: #984fcf;
$custom-light: #ba84de;
$custom-dark: #000000;
JSON
{
  "hex": "#984fcf",
  "rgb": {
    "r": 152,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 274.219,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57432,
    "c": 0.19416,
    "h": 307.7
  },
  "luminance": 0.16772
}

Semantic roles & 50–950 ramp

primary
#984FCF
secondary
#B9D7A2
accent
#E04789
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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