#984ACF#984ACF

#984ACF is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.201 H 308.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#984ACF
RGBrgb(152, 74, 207)
HSLhsl(275, 58%, 55%)
HSVhsv(275, 64%, 81%)
CMYKcmyk(26.6%, 64.3%, 0%, 18.8%)
CIE-LABlab(47.08, 55.41, -55.87)
CIE-LCHlch(47.08, 78.68, 314.76°)
OKLaboklab(56.79% 0.1245 -0.1579)
OKLCHoklch(56.79% 0.201 308.2)
XYZxyz(26.6579, 16.0784, 60.7185)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984ACF #81CF4A
analogous
#554ACF #984ACF #CF4AC4
triadic
#984ACF #CF984A #4ACF98
tetradic
#984ACF #CF554A #81CF4A #4AC4CF
square
#984ACF #CF554A #81CF4A #4AC4CF
split-complementary
#984ACF #C4CF4A #4ACF55
monochromatic
#57217D #792EAE #984ACF #B47ADC #CFABE9

Accessibility & contrast

On white

4.98
#984ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#984ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984ACF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984ACF#FFFFFF#000000##FFFFFF
##984ACF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3271CC
Tritanopia (blue-blind)
#906586
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984acf;
/* rgb */ color: rgb(152, 74, 207);
/* oklch */ color: oklch(56.8% 0.201 308.2);
Tailwind
colors: {
  custom: {
    50: '#ba81de',
    500: '#984acf',
    950: '#000000',
  },
}
SCSS
$custom: #984acf;
$custom-light: #ba81de;
$custom-dark: #000000;
JSON
{
  "hex": "#984acf",
  "rgb": {
    "r": 152,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 275.188,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56785,
    "c": 0.20107,
    "h": 308.2
  },
  "luminance": 0.16078
}

Semantic roles & 50–950 ramp

primary
#984ACF
secondary
#B6D69F
accent
#E14687
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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