#9D6CFB#9D6CFB

#9D6CFB is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.0% C 0.205 H 296.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9D6CFB
RGBrgb(157, 108, 251)
HSLhsl(261, 95%, 70%)
HSVhsv(261, 57%, 98%)
CMYKcmyk(37.5%, 57%, 0%, 1.6%)
CIE-LABlab(56.94, 49.63, -64.76)
CIE-LCHlch(56.94, 81.59, 307.46°)
OKLaboklab(64.97% 0.0898 -0.184)
OKLCHoklch(64.97% 0.205 296)
XYZxyz(36.6753, 24.8576, 94.1138)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6CFB #CAFB6C
analogous
#6C83FB #9D6CFB #E46CFB
triadic
#9D6CFB #FB9D6C #6CFB9D
tetradic
#9D6CFB #FB6C83 #CAFB6C #6CFBE4
square
#9D6CFB #FB6C83 #CAFB6C #6CFBE4
split-complementary
#9D6CFB #FBE46C #83FB6C
monochromatic
#5306E6 #7530F9 #9D6CFB #C5A8FD #EBE1FE

Accessibility & contrast

On white

3.52
#9D6CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#9D6CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6CFB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6CFB#FFFFFF#000000##000000
##9D6CFB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C8AFF
Deuteranopia (green-blind)
#3387F8
Tritanopia (blue-blind)
#868AA9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d6cfb;
/* rgb */ color: rgb(157, 108, 251);
/* oklch */ color: oklch(65.0% 0.205 296.0);
Tailwind
colors: {
  custom: {
    50: '#bf98fd',
    500: '#9d6cfb',
    950: '#000000',
  },
}
SCSS
$custom: #9d6cfb;
$custom-light: #bf98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6cfb",
  "rgb": {
    "r": 157,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 260.559,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6497,
    "c": 0.20469,
    "h": 296
  },
  "luminance": 0.24858
}

Semantic roles & 50–950 ramp

primary
#9D6CFB
secondary
#E8F5CE
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D6CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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