#984CCF#984CCF

#984CCF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 57.0% C 0.198 H 308.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#984CCF
RGBrgb(152, 76, 207)
HSLhsl(275, 58%, 55%)
HSVhsv(275, 63%, 81%)
CMYKcmyk(26.6%, 63.3%, 0%, 18.8%)
CIE-LABlab(47.43, 54.44, -55.30)
CIE-LCHlch(47.43, 77.60, 314.55°)
OKLaboklab(57.04% 0.1222 -0.1563)
OKLCHoklch(57.04% 0.198 308)
XYZxyz(26.7935, 16.3497, 60.7637)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984CCF #83CF4C
analogous
#564CCF #984CCF #CF4CC4
triadic
#984CCF #CF984C #4CCF98
tetradic
#984CCF #CF564C #83CF4C #4CC4CF
square
#984CCF #CF564C #83CF4C #4CC4CF
split-complementary
#984CCF #C4CF4C #4CCF56
monochromatic
#58227F #792FAF #984CCF #B47CDC #D0ADE9

Accessibility & contrast

On white

4.92
#984CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#984CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984CCF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984CCF#FFFFFF#000000##FFFFFF
##984CCF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#906787
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #984ccf;
/* rgb */ color: rgb(152, 76, 207);
/* oklch */ color: oklch(57.0% 0.198 308.0);
Tailwind
colors: {
  custom: {
    50: '#ba82de',
    500: '#984ccf',
    950: '#000000',
  },
}
SCSS
$custom: #984ccf;
$custom-light: #ba82de;
$custom-dark: #000000;
JSON
{
  "hex": "#984ccf",
  "rgb": {
    "r": 152,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 274.809,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57039,
    "c": 0.19835,
    "h": 308
  },
  "luminance": 0.16349
}

Semantic roles & 50–950 ramp

primary
#984CCF
secondary
#B7D7A0
accent
#E14788
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #984CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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