#9C8AEF#9C8AEF

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

Color values

HEX#9C8AEF
RGBrgb(156, 138, 239)
HSLhsl(251, 76%, 74%)
HSVhsv(251, 42%, 94%)
CMYKcmyk(34.7%, 42.3%, 0%, 6.3%)
CIE-LABlab(62.91, 29.43, -48.61)
CIE-LCHlch(62.91, 56.83, 301.19°)
OKLaboklab(69.19% 0.0504 -0.1367)
OKLCHoklch(69.19% 0.146 290.2)
XYZxyz(38.3746, 31.4759, 85.6982)
Luminance0.3148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8AEF #DDEF8A
analogous
#8AABEF #9C8AEF #CF8AEF
triadic
#9C8AEF #EF9C8A #8AEF9C
tetradic
#9C8AEF #EF8AAB #DDEF8A #8AEFCF
square
#9C8AEF #EF8AAB #DDEF8A #8AEFCF
split-complementary
#9C8AEF #EFCF8A #ABEF8A
monochromatic
#411FE0 #6E54E8 #9C8AEF #CAC0F6 #E8E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8AEF#FFFFFF#000000##000000
##9C8AEF1.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)
#699AF3
Deuteranopia (green-blind)
#6A96ED
Tritanopia (blue-blind)
#879DB1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c8aef;
/* rgb */ color: rgb(156, 138, 239);
/* oklch */ color: oklch(69.2% 0.146 290.2);
Tailwind
colors: {
  custom: {
    50: '#bcacf5',
    500: '#9c8aef',
    950: '#000000',
  },
}
SCSS
$custom: #9c8aef;
$custom-light: #bcacf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8aef",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 250.693,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6919,
    "c": 0.14566,
    "h": 290.2
  },
  "luminance": 0.31477
}

Semantic roles & 50–950 ramp

primary
#9C8AEF
secondary
#EEF3D8
accent
#D80DB4
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9C8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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