#9C7BED#9C7BED

#9C7BED is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.4% C 0.165 H 294.8°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9C7BED
RGBrgb(156, 123, 237)
HSLhsl(257, 76%, 71%)
HSVhsv(257, 48%, 93%)
CMYKcmyk(34.2%, 48.1%, 0%, 7.1%)
CIE-LABlab(59.29, 37.47, -53.23)
CIE-LCHlch(59.29, 65.10, 305.14°)
OKLaboklab(66.44% 0.0695 -0.1502)
OKLCHoklch(66.44% 0.165 294.8)
XYZxyz(36.0754, 27.3476, 83.4823)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7BED #CCED7B
analogous
#7B93ED #9C7BED #D57BED
triadic
#9C7BED #ED9C7B #7BED9C
tetradic
#9C7BED #ED7B93 #CCED7B #7BEDD5
square
#9C7BED #ED7B93 #CCED7B #7BEDD5
split-complementary
#9C7BED #EDD57B #93ED7B
monochromatic
#511DD1 #7445E6 #9C7BED #C4B1F4 #EBE4FB

Accessibility & contrast

On white

3.25
#9C7BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#9C7BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7BED
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7BED#FFFFFF#000000##000000
##9C7BED1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F1
Deuteranopia (green-blind)
#598DEA
Tritanopia (blue-blind)
#8991A9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9c7bed;
/* rgb */ color: rgb(156, 123, 237);
/* oklch */ color: oklch(66.4% 0.165 294.8);
Tailwind
colors: {
  custom: {
    50: '#bda2f3',
    500: '#9c7bed',
    950: '#000000',
  },
}
SCSS
$custom: #9c7bed;
$custom-light: #bda2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7bed",
  "rgb": {
    "r": 156,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 257.368,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66436,
    "c": 0.16549,
    "h": 294.8
  },
  "luminance": 0.27348
}

Semantic roles & 50–950 ramp

primary
#9C7BED
secondary
#E8F1D2
accent
#D80D9D
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9C7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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