#9C84CB#9C84CB

#9C84CB is a light, moderate violet. Relative luminance 0.279; OKLCH L 66.3% C 0.106 H 299.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9C84CB
RGBrgb(156, 132, 203)
HSLhsl(260, 41%, 66%)
HSVhsv(260, 35%, 80%)
CMYKcmyk(23.2%, 35%, 0%, 20.4%)
CIE-LABlab(59.78, 23.84, -33.44)
CIE-LCHlch(59.78, 41.07, 305.49°)
OKLaboklab(66.27% 0.0515 -0.0927)
OKLCHoklch(66.27% 0.106 299)
XYZxyz(32.7386, 27.8821, 60.1453)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C84CB #B3CB84
analogous
#848FCB #9C84CB #BF84CB
triadic
#9C84CB #CB9C84 #84CB9C
tetradic
#9C84CB #CB848F #B3CB84 #84CBBF
square
#9C84CB #CB848F #B3CB84 #84CBBF
split-complementary
#9C84CB #CBBF84 #8FCB84
monochromatic
#5C3F95 #7959B9 #9C84CB #BFAFDD #E1DAEF

Accessibility & contrast

On white

3.19
#9C84CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#9C84CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C84CB
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C84CB#FFFFFF#000000##000000
##9C84CB1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CE
Deuteranopia (green-blind)
#778FC9
Tritanopia (blue-blind)
#93909E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9c84cb;
/* rgb */ color: rgb(156, 132, 203);
/* oklch */ color: oklch(66.3% 0.106 299.0);
Tailwind
colors: {
  custom: {
    50: '#baa8db',
    500: '#9c84cb',
    950: '#000000',
  },
}
SCSS
$custom: #9c84cb;
$custom-light: #baa8db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c84cb",
  "rgb": {
    "r": 156,
    "g": 132,
    "b": 203
  },
  "hsl": {
    "h": 260.282,
    "s": 40.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66268,
    "c": 0.10605,
    "h": 299
  },
  "luminance": 0.27882
}

Semantic roles & 50–950 ramp

primary
#9C84CB
secondary
#D9E1CA
accent
#B43288
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #9C84CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9C84CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva