#9B6CED#9B6CED

#9B6CED is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.9% C 0.188 H 297.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9B6CED
RGBrgb(155, 108, 237)
HSLhsl(262, 78%, 68%)
HSVhsv(262, 54%, 93%)
CMYKcmyk(34.6%, 54.4%, 0%, 7.1%)
CIE-LABlab(55.89, 45.61, -58.67)
CIE-LCHlch(55.89, 74.31, 307.86°)
OKLaboklab(63.89% 0.0871 -0.1661)
OKLCHoklch(63.89% 0.188 297.7)
XYZxyz(34.1624, 23.8077, 82.8998)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6CED #BEED6C
analogous
#6C7EED #9B6CED #DB6CED
triadic
#9B6CED #ED9B6C #6CED9B
tetradic
#9B6CED #ED6C7E #BEED6C #6CEDDB
square
#9B6CED #ED6C7E #BEED6C #6CEDDB
split-complementary
#9B6CED #EDDB6C #7EED6C
monochromatic
#5818C6 #7635E6 #9B6CED #C0A3F4 #E5D9FA

Accessibility & contrast

On white

3.64
#9B6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#9B6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6CED
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6CED#FFFFFF#000000##000000
##9B6CED1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F1
Deuteranopia (green-blind)
#4385EA
Tritanopia (blue-blind)
#8986A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9b6ced;
/* rgb */ color: rgb(155, 108, 237);
/* oklch */ color: oklch(63.9% 0.188 297.7);
Tailwind
colors: {
  custom: {
    50: '#bd97f3',
    500: '#9b6ced',
    950: '#000000',
  },
}
SCSS
$custom: #9b6ced;
$custom-light: #bd97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6ced",
  "rgb": {
    "r": 155,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 261.86,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63886,
    "c": 0.18757,
    "h": 297.7
  },
  "luminance": 0.23808
}

Semantic roles & 50–950 ramp

primary
#9B6CED
secondary
#E0EEC6
accent
#DA0B8F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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