#9C8DE2#9C8DE2

#9C8DE2 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.1% C 0.123 H 290.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9C8DE2
RGBrgb(156, 141, 226)
HSLhsl(251, 59%, 72%)
HSVhsv(251, 38%, 89%)
CMYKcmyk(31%, 37.6%, 0%, 11.4%)
CIE-LABlab(63.02, 24.36, -41.24)
CIE-LCHlch(63.02, 47.90, 300.56°)
OKLaboklab(69.07% 0.044 -0.1153)
OKLCHoklch(69.07% 0.123 290.9)
XYZxyz(36.9591, 31.6079, 76.0905)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8DE2 #D3E28D
analogous
#8DA9E2 #9C8DE2 #C78DE2
triadic
#9C8DE2 #E29C8D #8DE29C
tetradic
#9C8DE2 #E28DA9 #D3E28D #8DE2C7
square
#9C8DE2 #E28DA9 #D3E28D #8DE2C7
split-complementary
#9C8DE2 #E2C78D #A9E28D
monochromatic
#4B32C3 #725CD6 #9C8DE2 #C6BEEE #EAE7F9

Accessibility & contrast

On white

2.87
#9C8DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#9C8DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8DE2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8DE2#FFFFFF#000000##000000
##9C8DE21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#749AE5
Deuteranopia (green-blind)
#7597E0
Tritanopia (blue-blind)
#8C9CAD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c8de2;
/* rgb */ color: rgb(156, 141, 226);
/* oklch */ color: oklch(69.1% 0.123 290.9);
Tailwind
colors: {
  custom: {
    50: '#bbaeeb',
    500: '#9c8de2',
    950: '#000000',
  },
}
SCSS
$custom: #9c8de2;
$custom-light: #bbaeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8de2",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 226
  },
  "hsl": {
    "h": 250.588,
    "s": 59.441,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69072,
    "c": 0.12338,
    "h": 290.9
  },
  "luminance": 0.31609
}

Semantic roles & 50–950 ramp

primary
#9C8DE2
secondary
#ECF0DB
accent
#C71EA9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9C8DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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