#9C6AF2#9C6AF2

#9C6AF2 is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.0% C 0.197 H 297.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9C6AF2
RGBrgb(156, 106, 242)
HSLhsl(262, 84%, 68%)
HSVhsv(262, 56%, 95%)
CMYKcmyk(35.5%, 56.2%, 0%, 5.1%)
CIE-LABlab(55.87, 48.20, -61.48)
CIE-LCHlch(55.87, 78.12, 308.09°)
OKLaboklab(63.99% 0.0909 -0.1744)
OKLCHoklch(63.99% 0.197 297.5)
XYZxyz(34.8873, 23.7863, 86.7404)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C6AF2 #C0F26A
analogous
#6A7CF2 #9C6AF2 #E06AF2
triadic
#9C6AF2 #F29C6A #6AF29C
tetradic
#9C6AF2 #F26A7C #C0F26A #6AF2E0
square
#9C6AF2 #F26A7C #C0F26A #6AF2E0
split-complementary
#9C6AF2 #F2E06A #7CF26A
monochromatic
#5812CF #7732ED #9C6AF2 #C1A2F7 #E7DBFC

Accessibility & contrast

On white

3.65
#9C6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#9C6AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C6AF2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C6AF2#FFFFFF#000000##000000
##9C6AF21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F7
Deuteranopia (green-blind)
#3B84EF
Tritanopia (blue-blind)
#8886A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c6af2;
/* rgb */ color: rgb(156, 106, 242);
/* oklch */ color: oklch(64.0% 0.197 297.5);
Tailwind
colors: {
  custom: {
    50: '#be96f7',
    500: '#9c6af2',
    950: '#000000',
  },
}
SCSS
$custom: #9c6af2;
$custom-light: #be96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c6af2",
  "rgb": {
    "r": 156,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 262.059,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63989,
    "c": 0.19662,
    "h": 297.5
  },
  "luminance": 0.23787
}

Semantic roles & 50–950 ramp

primary
#9C6AF2
secondary
#E1F1C7
accent
#E00590
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9C6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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