#9D6FFA#9D6FFA

#9D6FFA is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.4% C 0.199 H 295.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9D6FFA
RGBrgb(157, 111, 250)
HSLhsl(260, 93%, 71%)
HSVhsv(260, 56%, 98%)
CMYKcmyk(37.2%, 55.6%, 0%, 2%)
CIE-LABlab(57.50, 47.74, -63.30)
CIE-LCHlch(57.50, 79.29, 307.02°)
OKLaboklab(65.36% 0.0862 -0.1797)
OKLCHoklch(65.36% 0.199 295.6)
XYZxyz(36.8399, 25.4384, 93.3931)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6FFA #CCFA6F
analogous
#6F86FA #9D6FFA #E26FFA
triadic
#9D6FFA #FA9D6F #6FFA9D
tetradic
#9D6FFA #FA6F86 #CCFA6F #6FFAE2
square
#9D6FFA #FA6F86 #CCFA6F #6FFAE2
split-complementary
#9D6FFA #FAE26F #86FA6F
monochromatic
#5208E7 #7534F8 #9D6FFA #C5AAFC #EBE1FE

Accessibility & contrast

On white

3.45
#9D6FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#9D6FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6FFA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6FFA#FFFFFF#000000##000000
##9D6FFA1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8BFF
Deuteranopia (green-blind)
#3A88F7
Tritanopia (blue-blind)
#868CAA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d6ffa;
/* rgb */ color: rgb(157, 111, 250);
/* oklch */ color: oklch(65.4% 0.199 295.6);
Tailwind
colors: {
  custom: {
    50: '#bf9afd',
    500: '#9d6ffa',
    950: '#000000',
  },
}
SCSS
$custom: #9d6ffa;
$custom-light: #bf9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6ffa",
  "rgb": {
    "r": 157,
    "g": 111,
    "b": 250
  },
  "hsl": {
    "h": 259.856,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65365,
    "c": 0.1993,
    "h": 295.6
  },
  "luminance": 0.25439
}

Semantic roles & 50–950 ramp

primary
#9D6FFA
secondary
#E9F5D0
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D6FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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