#9C8CE5#9C8CE5

#9C8CE5 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.0% C 0.129 H 290.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9C8CE5
RGBrgb(156, 140, 229)
HSLhsl(251, 63%, 72%)
HSVhsv(251, 39%, 90%)
CMYKcmyk(31.9%, 38.9%, 0%, 10.2%)
CIE-LABlab(62.91, 25.70, -43.08)
CIE-LCHlch(62.91, 50.16, 300.82°)
OKLaboklab(69.04% 0.046 -0.1206)
OKLCHoklch(69.04% 0.129 290.9)
XYZxyz(37.2276, 31.4804, 78.2285)
Luminance0.3148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8CE5 #D5E58C
analogous
#8CA8E5 #9C8CE5 #C98CE5
triadic
#9C8CE5 #E59C8C #8CE59C
tetradic
#9C8CE5 #E58CA8 #D5E58C #8CE5C9
square
#9C8CE5 #E58CA8 #D5E58C #8CE5C9
split-complementary
#9C8CE5 #E5C98C #A8E58C
monochromatic
#492DC9 #715ADA #9C8CE5 #C7BEF0 #EAE6F9

Accessibility & contrast

On white

2.88
#9C8CE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#9C8CE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8CE5
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8CE5#FFFFFF#000000##000000
##9C8CE51.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#719AE8
Deuteranopia (green-blind)
#7296E3
Tritanopia (blue-blind)
#8B9CAE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c8ce5;
/* rgb */ color: rgb(156, 140, 229);
/* oklch */ color: oklch(69.0% 0.129 290.9);
Tailwind
colors: {
  custom: {
    50: '#bbaded',
    500: '#9c8ce5',
    950: '#000000',
  },
}
SCSS
$custom: #9c8ce5;
$custom-light: #bbaded;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8ce5",
  "rgb": {
    "r": 156,
    "g": 140,
    "b": 229
  },
  "hsl": {
    "h": 250.787,
    "s": 63.121,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69036,
    "c": 0.12903,
    "h": 290.9
  },
  "luminance": 0.31481
}

Semantic roles & 50–950 ramp

primary
#9C8CE5
secondary
#EDF1DA
accent
#CB1BAB
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9C8CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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