#9C8DC8#9C8DC8

#9C8DC8 is a light, moderate violet. Relative luminance 0.303; OKLCH L 67.8% C 0.087 H 295.7°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9C8DC8
RGBrgb(156, 141, 200)
HSLhsl(255, 35%, 67%)
HSVhsv(255, 30%, 78%)
CMYKcmyk(22%, 29.5%, 0%, 21.6%)
CIE-LABlab(61.90, 17.96, -28.47)
CIE-LCHlch(61.90, 33.66, 302.25°)
OKLaboklab(67.85% 0.0377 -0.0785)
OKLCHoklch(67.85% 0.087 295.7)
XYZxyz(33.6581, 30.2875, 58.7052)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8DC8 #B9C88D
analogous
#8D9CC8 #9C8DC8 #BA8DC8
triadic
#9C8DC8 #C89C8D #8DC89C
tetradic
#9C8DC8 #C88D9C #B9C88D #8DC8BA
square
#9C8DC8 #C88D9C #B9C88D #8DC8BA
split-complementary
#9C8DC8 #C8BA8D #9CC88D
monochromatic
#5B4793 #7864B4 #9C8DC8 #C0B6DC #E4E0F0

Accessibility & contrast

On white

2.98
#9C8DC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#9C8DC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8DC8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8DC8#FFFFFF#000000##000000
##9C8DC81.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F96CA
Deuteranopia (green-blind)
#8195C6
Tritanopia (blue-blind)
#9396A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c8dc8;
/* rgb */ color: rgb(156, 141, 200);
/* oklch */ color: oklch(67.8% 0.087 295.7);
Tailwind
colors: {
  custom: {
    50: '#baaed9',
    500: '#9c8dc8',
    950: '#000000',
  },
}
SCSS
$custom: #9c8dc8;
$custom-light: #baaed9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8dc8",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 200
  },
  "hsl": {
    "h": 255.254,
    "s": 34.911,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6785,
    "c": 0.08711,
    "h": 295.7
  },
  "luminance": 0.30288
}

Semantic roles & 50–950 ramp

primary
#9C8DC8
secondary
#DDE2CF
accent
#AE3890
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #9C8DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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