#9D6AEF#9D6AEF

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

Color values

HEX#9D6AEF
RGBrgb(157, 106, 239)
HSLhsl(263, 81%, 68%)
HSVhsv(263, 56%, 94%)
CMYKcmyk(34.3%, 55.6%, 0%, 6.3%)
CIE-LABlab(55.79, 47.67, -59.93)
CIE-LCHlch(55.79, 76.58, 308.50°)
OKLaboklab(63.9% 0.0921 -0.1698)
OKLCHoklch(63.9% 0.193 298.5)
XYZxyz(34.6348, 23.7078, 84.3959)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6AEF #BCEF6A
analogous
#6A79EF #9D6AEF #E06AEF
triadic
#9D6AEF #EF9D6A #6AEF9D
tetradic
#9D6AEF #EF6A79 #BCEF6A #6AEFE0
square
#9D6AEF #EF6A79 #BCEF6A #6AEFE0
split-complementary
#9D6AEF #EFE06A #79EF6A
monochromatic
#5A16C9 #7933E9 #9D6AEF #C1A1F5 #E6D9FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D6AEF#FFFFFF#000000##000000
##9D6AEF1.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)
#2D86F3
Deuteranopia (green-blind)
#4084EC
Tritanopia (blue-blind)
#8B85A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9d6aef;
/* rgb */ color: rgb(157, 106, 239);
/* oklch */ color: oklch(63.9% 0.193 298.5);
Tailwind
colors: {
  custom: {
    50: '#be96f5',
    500: '#9d6aef',
    950: '#000000',
  },
}
SCSS
$custom: #9d6aef;
$custom-light: #be96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6aef",
  "rgb": {
    "r": 157,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 263.008,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63897,
    "c": 0.19315,
    "h": 298.5
  },
  "luminance": 0.23708
}

Semantic roles & 50–950 ramp

primary
#9D6AEF
secondary
#DFEFC6
accent
#DD098C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D6AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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