#9D8EBC#9D8EBC

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

Color values

HEX#9D8EBC
RGBrgb(157, 142, 188)
HSLhsl(260, 26%, 65%)
HSVhsv(260, 24%, 74%)
CMYKcmyk(16.5%, 24.5%, 0%, 26.3%)
CIE-LABlab(61.78, 14.93, -21.89)
CIE-LCHlch(61.78, 26.50, 304.29°)
OKLaboklab(67.62% 0.0339 -0.0599)
OKLCHoklch(67.62% 0.069 299.5)
XYZxyz(32.6528, 30.1448, 51.6655)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8EBC #ADBC8E
analogous
#8E96BC #9D8EBC #B48EBC
triadic
#9D8EBC #BC9D8E #8EBC9D
tetradic
#9D8EBC #BC8E96 #ADBC8E #8EBCB4
square
#9D8EBC #BC8E96 #ADBC8E #8EBCB4
split-complementary
#9D8EBC #BCB48E #96BC8E
monochromatic
#5F4D82 #7C68A5 #9D8EBC #BEB4D3 #E0DBEA

Accessibility & contrast

On white

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

On black

7.03
#9D8EBC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D8EBC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8EBC#FFFFFF#000000##000000
##9D8EBC1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8595BE
Deuteranopia (green-blind)
#8795BB
Tritanopia (blue-blind)
#98959E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d8ebc;
/* rgb */ color: rgb(157, 142, 188);
/* oklch */ color: oklch(67.6% 0.069 299.5);
Tailwind
colors: {
  custom: {
    50: '#baafd0',
    500: '#9d8ebc',
    950: '#000000',
  },
}
SCSS
$custom: #9d8ebc;
$custom-light: #baafd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8ebc",
  "rgb": {
    "r": 157,
    "g": 142,
    "b": 188
  },
  "hsl": {
    "h": 259.565,
    "s": 25.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67624,
    "c": 0.0688,
    "h": 299.5
  },
  "luminance": 0.30145
}

Semantic roles & 50–950 ramp

primary
#9D8EBC
secondary
#D6DBCB
accent
#A44184
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #9D8EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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