#9D8CC4#9D8CC4

#9D8CC4 is a light, moderate violet. Relative luminance 0.299; OKLCH L 67.6% C 0.083 H 298.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9D8CC4
RGBrgb(157, 140, 196)
HSLhsl(258, 32%, 66%)
HSVhsv(258, 29%, 77%)
CMYKcmyk(19.9%, 28.6%, 0%, 23.1%)
CIE-LABlab(61.58, 17.91, -26.71)
CIE-LCHlch(61.58, 32.16, 303.84°)
OKLaboklab(67.57% 0.0392 -0.0735)
OKLCHoklch(67.57% 0.083 298.1)
XYZxyz(33.2443, 29.9096, 56.2356)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8CC4 #B3C48C
analogous
#8C97C4 #9D8CC4 #B98CC4
triadic
#9D8CC4 #C49D8C #8CC49D
tetradic
#9D8CC4 #C48C97 #B3C48C #8CC4B9
square
#9D8CC4 #C48C97 #B3C48C #8CC4B9
split-complementary
#9D8CC4 #C4B98C #97C48C
monochromatic
#5D488D #7B64AF #9D8CC4 #BFB4D9 #E2DDEE

Accessibility & contrast

On white

3.01
#9D8CC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#9D8CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8CC4
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8CC4#FFFFFF#000000##000000
##9D8CC41.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8095C6
Deuteranopia (green-blind)
#8294C2
Tritanopia (blue-blind)
#9695A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d8cc4;
/* rgb */ color: rgb(157, 140, 196);
/* oklch */ color: oklch(67.6% 0.083 298.1);
Tailwind
colors: {
  custom: {
    50: '#baadd6',
    500: '#9d8cc4',
    950: '#000000',
  },
}
SCSS
$custom: #9d8cc4;
$custom-light: #baadd6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8cc4",
  "rgb": {
    "r": 157,
    "g": 140,
    "b": 196
  },
  "hsl": {
    "h": 258.214,
    "s": 32.184,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67568,
    "c": 0.08331,
    "h": 298.1
  },
  "luminance": 0.2991
}

Semantic roles & 50–950 ramp

primary
#9D8CC4
secondary
#DADFCD
accent
#AB3B89
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #9D8CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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