#9C6EFB#9C6EFB

#9C6EFB is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.2% C 0.202 H 295.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9C6EFB
RGBrgb(156, 110, 251)
HSLhsl(260, 95%, 71%)
HSVhsv(260, 56%, 98%)
CMYKcmyk(37.8%, 56.2%, 0%, 1.6%)
CIE-LABlab(57.25, 48.32, -64.26)
CIE-LCHlch(57.25, 80.40, 306.94°)
OKLaboklab(65.18% 0.0862 -0.1825)
OKLCHoklch(65.18% 0.202 295.3)
XYZxyz(36.6943, 25.1841, 94.1758)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C6EFB #CDFB6E
analogous
#6E86FB #9C6EFB #E26EFB
triadic
#9C6EFB #FB9C6E #6EFB9C
tetradic
#9C6EFB #FB6E86 #CDFB6E #6EFBE2
square
#9C6EFB #FB6E86 #CDFB6E #6EFBE2
split-complementary
#9C6EFB #FBE26E #86FB6E
monochromatic
#5006E8 #7332F9 #9C6EFB #C5AAFD #EBE1FE

Accessibility & contrast

On white

3.48
#9C6EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#9C6EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C6EFB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C6EFB#FFFFFF#000000##000000
##9C6EFB1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#238BFF
Deuteranopia (green-blind)
#3687F8
Tritanopia (blue-blind)
#858CAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9c6efb;
/* rgb */ color: rgb(156, 110, 251);
/* oklch */ color: oklch(65.2% 0.202 295.3);
Tailwind
colors: {
  custom: {
    50: '#be99fd',
    500: '#9c6efb',
    950: '#000000',
  },
}
SCSS
$custom: #9c6efb;
$custom-light: #be99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c6efb",
  "rgb": {
    "r": 156,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 259.574,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6518,
    "c": 0.20183,
    "h": 295.3
  },
  "luminance": 0.25185
}

Semantic roles & 50–950 ramp

primary
#9C6EFB
secondary
#E9F5CF
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9C6EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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