#9D6CE8#9D6CE8

#9D6CE8 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.8% C 0.182 H 299.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9D6CE8
RGBrgb(157, 108, 232)
HSLhsl(264, 73%, 67%)
HSVhsv(264, 53%, 91%)
CMYKcmyk(32.3%, 53.4%, 0%, 9%)
CIE-LABlab(55.81, 44.83, -56.01)
CIE-LCHlch(55.81, 71.74, 308.68°)
OKLaboklab(63.77% 0.0894 -0.1583)
OKLCHoklch(63.77% 0.182 299.5)
XYZxyz(33.8292, 23.7191, 79.1243)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6CE8 #B7E86C
analogous
#6C79E8 #9D6CE8 #DB6CE8
triadic
#9D6CE8 #E89D6C #6CE89D
tetradic
#9D6CE8 #E86C79 #B7E86C #6CE8DB
square
#9D6CE8 #E86C79 #B7E86C #6CE8DB
split-complementary
#9D6CE8 #E8DB6C #79E86C
monochromatic
#5C1DBC #7A37E0 #9D6CE8 #C0A1F0 #E4D6F9

Accessibility & contrast

On white

3.66
#9D6CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#9D6CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6CE8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6CE8#FFFFFF#000000##000000
##9D6CE81.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B86EC
Deuteranopia (green-blind)
#4A85E5
Tritanopia (blue-blind)
#8D84A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9d6ce8;
/* rgb */ color: rgb(157, 108, 232);
/* oklch */ color: oklch(63.8% 0.182 299.5);
Tailwind
colors: {
  custom: {
    50: '#be97f0',
    500: '#9d6ce8',
    950: '#000000',
  },
}
SCSS
$custom: #9d6ce8;
$custom-light: #be97f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6ce8",
  "rgb": {
    "r": 157,
    "g": 108,
    "b": 232
  },
  "hsl": {
    "h": 263.71,
    "s": 72.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63773,
    "c": 0.18177,
    "h": 299.5
  },
  "luminance": 0.23719
}

Semantic roles & 50–950 ramp

primary
#9D6CE8
secondary
#DCECC4
accent
#D51087
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D6CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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