#9B7BED#9B7BED

#9B7BED is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.3% C 0.165 H 294.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9B7BED
RGBrgb(155, 123, 237)
HSLhsl(257, 76%, 71%)
HSVhsv(257, 48%, 93%)
CMYKcmyk(34.6%, 48.1%, 0%, 7.1%)
CIE-LABlab(59.20, 37.22, -53.38)
CIE-LCHlch(59.20, 65.08, 304.88°)
OKLaboklab(66.35% 0.0683 -0.1506)
OKLCHoklch(66.35% 0.165 294.4)
XYZxyz(35.8827, 27.2482, 83.4733)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7BED #CDED7B
analogous
#7B94ED #9B7BED #D47BED
triadic
#9B7BED #ED9B7B #7BED9B
tetradic
#9B7BED #ED7B94 #CDED7B #7BEDD4
square
#9B7BED #ED7B94 #CDED7B #7BEDD4
split-complementary
#9B7BED #EDD47B #94ED7B
monochromatic
#4F1DD1 #7245E6 #9B7BED #C4B1F4 #EBE4FB

Accessibility & contrast

On white

3.26
#9B7BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#9B7BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7BED
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7BED#FFFFFF#000000##000000
##9B7BED1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F1
Deuteranopia (green-blind)
#588DEA
Tritanopia (blue-blind)
#8891A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9b7bed;
/* rgb */ color: rgb(155, 123, 237);
/* oklch */ color: oklch(66.3% 0.165 294.4);
Tailwind
colors: {
  custom: {
    50: '#bca2f3',
    500: '#9b7bed',
    950: '#000000',
  },
}
SCSS
$custom: #9b7bed;
$custom-light: #bca2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7bed",
  "rgb": {
    "r": 155,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 256.842,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66346,
    "c": 0.1654,
    "h": 294.4
  },
  "luminance": 0.27249
}

Semantic roles & 50–950 ramp

primary
#9B7BED
secondary
#E9F1D2
accent
#D80D9F
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9B7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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