#984BCF#984BCF

#984BCF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.9% C 0.200 H 308.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#984BCF
RGBrgb(152, 75, 207)
HSLhsl(275, 58%, 55%)
HSVhsv(275, 64%, 81%)
CMYKcmyk(26.6%, 63.8%, 0%, 18.8%)
CIE-LABlab(47.25, 54.92, -55.58)
CIE-LCHlch(47.25, 78.14, 314.66°)
OKLaboklab(56.91% 0.1233 -0.1571)
OKLCHoklch(56.91% 0.2 308.1)
XYZxyz(26.7252, 16.2129, 60.7409)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984BCF #82CF4B
analogous
#564BCF #984BCF #CF4BC4
triadic
#984BCF #CF984B #4BCF98
tetradic
#984BCF #CF564B #82CF4B #4BC4CF
square
#984BCF #CF564B #82CF4B #4BC4CF
split-complementary
#984BCF #C4CF4B #4BCF56
monochromatic
#57227E #792EAE #984BCF #B47BDC #CFACE9

Accessibility & contrast

On white

4.95
#984BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#984BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984BCF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984BCF#FFFFFF#000000##FFFFFF
##984BCF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #984bcf;
/* rgb */ color: rgb(152, 75, 207);
/* oklch */ color: oklch(56.9% 0.200 308.1);
Tailwind
colors: {
  custom: {
    50: '#ba82de',
    500: '#984bcf',
    950: '#000000',
  },
}
SCSS
$custom: #984bcf;
$custom-light: #ba82de;
$custom-dark: #000000;
JSON
{
  "hex": "#984bcf",
  "rgb": {
    "r": 152,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 275,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.19972,
    "h": 308.1
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #984BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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