#9C6EBA#9C6EBA

#9C6EBA is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.5% C 0.122 H 311.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9C6EBA
RGBrgb(156, 110, 186)
HSLhsl(276, 36%, 58%)
HSVhsv(276, 41%, 73%)
CMYKcmyk(16.1%, 40.9%, 0%, 27.1%)
CIE-LABlab(53.78, 32.51, -33.13)
CIE-LCHlch(53.78, 46.42, 314.46°)
OKLaboklab(61.47% 0.0799 -0.0917)
OKLCHoklch(61.47% 0.122 311)
XYZxyz(28.1476, 21.7654, 49.1632)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C6EBA #8CBA6E
analogous
#766EBA #9C6EBA #BA6EB2
triadic
#9C6EBA #BA9C6E #6EBA9C
tetradic
#9C6EBA #BA766E #8CBA6E #6EB2BA
square
#9C6EBA #BA766E #8CBA6E #6EB2BA
split-complementary
#9C6EBA #B2BA6E #6EBA76
monochromatic
#5D3876 #7E4C9F #9C6EBA #B897CE #D5C1E1

Accessibility & contrast

On white

3.92
#9C6EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#9C6EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C6EBA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C6EBA#FFFFFF#000000##000000
##9C6EBA1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7EBD
Deuteranopia (green-blind)
#6A81B8
Tritanopia (blue-blind)
#99798B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9c6eba;
/* rgb */ color: rgb(156, 110, 186);
/* oklch */ color: oklch(61.5% 0.122 311.0);
Tailwind
colors: {
  custom: {
    50: '#ba98cf',
    500: '#9c6eba',
    950: '#000000',
  },
}
SCSS
$custom: #9c6eba;
$custom-light: #ba98cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c6eba",
  "rgb": {
    "r": 156,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 276.316,
    "s": 35.514,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61466,
    "c": 0.12162,
    "h": 311
  },
  "luminance": 0.21765
}

Semantic roles & 50–950 ramp

primary
#9C6EBA
secondary
#BFD1B3
accent
#CC5C88
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #9C6EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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