#9D6FF9#9D6FF9

#9D6FF9 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.3% C 0.198 H 295.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9D6FF9
RGBrgb(157, 111, 249)
HSLhsl(260, 92%, 71%)
HSVhsv(260, 55%, 98%)
CMYKcmyk(36.9%, 55.4%, 0%, 2.4%)
CIE-LABlab(57.44, 47.49, -62.85)
CIE-LCHlch(57.44, 78.77, 307.08°)
OKLaboklab(65.3% 0.0862 -0.1783)
OKLCHoklch(65.3% 0.198 295.8)
XYZxyz(36.6836, 25.3759, 92.5695)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6FF9 #CBF96F
analogous
#6F86F9 #9D6FF9 #E26FF9
triadic
#9D6FF9 #F99D6F #6FF99D
tetradic
#9D6FF9 #F96F86 #CBF96F #6FF9E2
square
#9D6FF9 #F96F86 #CBF96F #6FF9E2
split-complementary
#9D6FF9 #F9E26F #86F96F
monochromatic
#520AE4 #7534F7 #9D6FF9 #C5AAFB #EBE2FE

Accessibility & contrast

On white

3.46
#9D6FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9D6FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6FF9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6FF9#FFFFFF#000000##000000
##9D6FF91.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8BFE
Deuteranopia (green-blind)
#3C88F6
Tritanopia (blue-blind)
#878CAA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d6ff9;
/* rgb */ color: rgb(157, 111, 249);
/* oklch */ color: oklch(65.3% 0.198 295.8);
Tailwind
colors: {
  custom: {
    50: '#bf9afc',
    500: '#9d6ff9',
    950: '#000000',
  },
}
SCSS
$custom: #9d6ff9;
$custom-light: #bf9afc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6ff9",
  "rgb": {
    "r": 157,
    "g": 111,
    "b": 249
  },
  "hsl": {
    "h": 260,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65301,
    "c": 0.19809,
    "h": 295.8
  },
  "luminance": 0.25377
}

Semantic roles & 50–950 ramp

primary
#9D6FF9
secondary
#E8F5CF
accent
#E60099
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D6FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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