#9C8EBD#9C8EBD

#9C8EBD is a light, moderate violet. Relative luminance 0.301; OKLCH L 67.6% C 0.070 H 298.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9C8EBD
RGBrgb(156, 142, 189)
HSLhsl(258, 26%, 65%)
HSVhsv(258, 25%, 74%)
CMYKcmyk(17.5%, 24.9%, 0%, 25.9%)
CIE-LABlab(61.73, 14.83, -22.54)
CIE-LCHlch(61.73, 26.98, 303.35°)
OKLaboklab(67.58% 0.033 -0.0617)
OKLCHoklch(67.58% 0.07 298.2)
XYZxyz(32.5667, 30.0879, 52.2261)
Luminance0.3009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8EBD #AFBD8E
analogous
#8E98BD #9C8EBD #B38EBD
triadic
#9C8EBD #BD9C8E #8EBD9C
tetradic
#9C8EBD #BD8E98 #AFBD8E #8EBDB3
square
#9C8EBD #BD8E98 #AFBD8E #8EBDB3
split-complementary
#9C8EBD #BDB38E #98BD8E
monochromatic
#5D4D84 #7A67A6 #9C8EBD #BEB5D4 #E0DBEA

Accessibility & contrast

On white

2.99
#9C8EBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#9C8EBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8EBD
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8EBD#FFFFFF#000000##000000
##9C8EBD1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8495BF
Deuteranopia (green-blind)
#8695BC
Tritanopia (blue-blind)
#96959E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9c8ebd;
/* rgb */ color: rgb(156, 142, 189);
/* oklch */ color: oklch(67.6% 0.070 298.2);
Tailwind
colors: {
  custom: {
    50: '#b9afd1',
    500: '#9c8ebd',
    950: '#000000',
  },
}
SCSS
$custom: #9c8ebd;
$custom-light: #b9afd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8ebd",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 189
  },
  "hsl": {
    "h": 257.872,
    "s": 26.257,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67577,
    "c": 0.07,
    "h": 298.2
  },
  "luminance": 0.30088
}

Semantic roles & 50–950 ramp

primary
#9C8EBD
secondary
#D7DBCB
accent
#A54187
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #9C8EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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