#9D6AF5#9D6AF5

#9D6AF5 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.3% C 0.200 H 297.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9D6AF5
RGBrgb(157, 106, 245)
HSLhsl(262, 87%, 69%)
HSVhsv(262, 57%, 96%)
CMYKcmyk(35.9%, 56.7%, 0%, 3.9%)
CIE-LABlab(56.16, 49.18, -62.69)
CIE-LCHlch(56.16, 79.68, 308.12°)
OKLaboklab(64.28% 0.0921 -0.1779)
OKLCHoklch(64.28% 0.2 297.4)
XYZxyz(35.5359, 24.0682, 89.1419)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6AF5 #C2F56A
analogous
#6A7DF5 #9D6AF5 #E26AF5
triadic
#9D6AF5 #F59D6A #6AF59D
tetradic
#9D6AF5 #F56A7D #C2F56A #6AF5E2
square
#9D6AF5 #F56A7D #C2F56A #6AF5E2
split-complementary
#9D6AF5 #F5E26A #7DF56A
monochromatic
#580ED6 #7731F1 #9D6AF5 #C3A3F9 #E8DDFD

Accessibility & contrast

On white

3.61
#9D6AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#9D6AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6AF5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6AF5#FFFFFF#000000##000000
##9D6AF51.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2287FA
Deuteranopia (green-blind)
#3885F2
Tritanopia (blue-blind)
#8987A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d6af5;
/* rgb */ color: rgb(157, 106, 245);
/* oklch */ color: oklch(64.3% 0.200 297.4);
Tailwind
colors: {
  custom: {
    50: '#bf96f9',
    500: '#9d6af5',
    950: '#000000',
  },
}
SCSS
$custom: #9d6af5;
$custom-light: #bf96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6af5",
  "rgb": {
    "r": 157,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 262.014,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64279,
    "c": 0.20032,
    "h": 297.4
  },
  "luminance": 0.24069
}

Semantic roles & 50–950 ramp

primary
#9D6AF5
secondary
#E3F2C9
accent
#E40291
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D6AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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