#9B6BED#9B6BED

#9B6BED is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.7% C 0.189 H 297.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9B6BED
RGBrgb(155, 107, 237)
HSLhsl(262, 78%, 67%)
HSVhsv(262, 55%, 93%)
CMYKcmyk(34.6%, 54.9%, 0%, 7.1%)
CIE-LABlab(55.68, 46.16, -59.01)
CIE-LCHlch(55.68, 74.92, 308.03°)
OKLaboklab(63.73% 0.0883 -0.1671)
OKLCHoklch(63.73% 0.189 297.8)
XYZxyz(34.0575, 23.5979, 82.8649)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6BED #BDED6B
analogous
#6B7CED #9B6BED #DC6BED
triadic
#9B6BED #ED9B6B #6BED9B
tetradic
#9B6BED #ED6B7C #BDED6B #6BEDDC
square
#9B6BED #ED6B7C #BDED6B #6BEDDC
split-complementary
#9B6BED #EDDC6B #7CED6B
monochromatic
#5818C6 #7634E6 #9B6BED #C0A2F4 #E5D8FA

Accessibility & contrast

On white

3.67
#9B6BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#9B6BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6BED
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6BED#FFFFFF#000000##000000
##9B6BED1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3186F1
Deuteranopia (green-blind)
#4284EA
Tritanopia (blue-blind)
#8985A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9b6bed;
/* rgb */ color: rgb(155, 107, 237);
/* oklch */ color: oklch(63.7% 0.189 297.8);
Tailwind
colors: {
  custom: {
    50: '#bd97f3',
    500: '#9b6bed',
    950: '#000000',
  },
}
SCSS
$custom: #9b6bed;
$custom-light: #bd97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6bed",
  "rgb": {
    "r": 155,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 262.154,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6373,
    "c": 0.18902,
    "h": 297.8
  },
  "luminance": 0.23598
}

Semantic roles & 50–950 ramp

primary
#9B6BED
secondary
#DFEEC6
accent
#DB0B8E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9B6BED

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

Preview Lab → · Contrast checker → · Palette generator →

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