#9C8CD4#9C8CD4

#9C8CD4 is a light, moderate violet. Relative luminance 0.306; OKLCH L 68.2% C 0.105 H 293.6°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9C8CD4
RGBrgb(156, 140, 212)
HSLhsl(253, 46%, 69%)
HSVhsv(253, 34%, 83%)
CMYKcmyk(26.4%, 34%, 0%, 16.9%)
CIE-LABlab(62.15, 21.43, -34.81)
CIE-LCHlch(62.15, 40.87, 301.62°)
OKLaboklab(68.2% 0.0423 -0.0967)
OKLCHoklch(68.2% 0.106 293.6)
XYZxyz(34.9692, 30.5771, 66.3342)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8CD4 #C4D48C
analogous
#8CA0D4 #9C8CD4 #C08CD4
triadic
#9C8CD4 #D49C8C #8CD49C
tetradic
#9C8CD4 #D48CA0 #C4D48C #8CD4C0
square
#9C8CD4 #D48CA0 #C4D48C #8CD4C0
split-complementary
#9C8CD4 #D4C08C #A0D48C
monochromatic
#563EA7 #765FC3 #9C8CD4 #C2B9E5 #E9E5F5

Accessibility & contrast

On white

2.95
#9C8CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#9C8CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8CD4
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8CD4#FFFFFF#000000##000000
##9C8CD41.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7997D7
Deuteranopia (green-blind)
#7B95D2
Tritanopia (blue-blind)
#9098A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c8cd4;
/* rgb */ color: rgb(156, 140, 212);
/* oklch */ color: oklch(68.2% 0.105 293.6);
Tailwind
colors: {
  custom: {
    50: '#baade1',
    500: '#9c8cd4',
    950: '#000000',
  },
}
SCSS
$custom: #9c8cd4;
$custom-light: #baade1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8cd4",
  "rgb": {
    "r": 156,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 253.333,
    "s": 45.57,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68204,
    "c": 0.1055,
    "h": 293.6
  },
  "luminance": 0.30578
}

Semantic roles & 50–950 ramp

primary
#9C8CD4
secondary
#E4E8D3
accent
#B92D9A
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #9C8CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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