#9C8AE3#9C8AE3

#9C8AE3 is a light, vivid violet. Relative luminance 0.308; OKLCH L 68.6% C 0.129 H 291.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9C8AE3
RGBrgb(156, 138, 227)
HSLhsl(252, 61%, 72%)
HSVhsv(252, 39%, 89%)
CMYKcmyk(31.3%, 39.2%, 0%, 11%)
CIE-LABlab(62.33, 26.33, -42.88)
CIE-LCHlch(62.33, 50.32, 301.55°)
OKLaboklab(68.56% 0.0483 -0.12)
OKLCHoklch(68.56% 0.129 291.9)
XYZxyz(36.6604, 30.7902, 76.6698)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8AE3 #D1E38A
analogous
#8AA5E3 #9C8AE3 #C98AE3
triadic
#9C8AE3 #E39C8A #8AE39C
tetradic
#9C8AE3 #E38AA5 #D1E38A #8AE3C9
square
#9C8AE3 #E38AA5 #D1E38A #8AE3C9
split-complementary
#9C8AE3 #E3C98A #A5E38A
monochromatic
#4D2FC4 #7259D7 #9C8AE3 #C6BBEF #EAE6F9

Accessibility & contrast

On white

2.93
#9C8AE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#9C8AE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8AE3
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8AE3#FFFFFF#000000##000000
##9C8AE31.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E6
Deuteranopia (green-blind)
#7195E1
Tritanopia (blue-blind)
#8C9AAC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9c8ae3;
/* rgb */ color: rgb(156, 138, 227);
/* oklch */ color: oklch(68.6% 0.129 291.9);
Tailwind
colors: {
  custom: {
    50: '#bbacec',
    500: '#9c8ae3',
    950: '#000000',
  },
}
SCSS
$custom: #9c8ae3;
$custom-light: #bbacec;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8ae3",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 227
  },
  "hsl": {
    "h": 252.135,
    "s": 61.379,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68563,
    "c": 0.12934,
    "h": 291.9
  },
  "luminance": 0.30791
}

Semantic roles & 50–950 ramp

primary
#9C8AE3
secondary
#EBF0D9
accent
#C91CA6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9C8AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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