#9C7CED#9C7CED

#9C7CED is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.6% C 0.164 H 294.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9C7CED
RGBrgb(156, 124, 237)
HSLhsl(257, 76%, 71%)
HSVhsv(257, 48%, 93%)
CMYKcmyk(34.2%, 47.7%, 0%, 7.1%)
CIE-LABlab(59.52, 36.90, -52.87)
CIE-LCHlch(59.52, 64.48, 304.91°)
OKLaboklab(66.61% 0.0682 -0.1491)
OKLCHoklch(66.61% 0.164 294.6)
XYZxyz(36.2001, 27.5970, 83.5239)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7CED #CDED7C
analogous
#7C94ED #9C7CED #D47CED
triadic
#9C7CED #ED9C7C #7CED9C
tetradic
#9C7CED #ED7C94 #CDED7C #7CEDD4
square
#9C7CED #ED7C94 #CDED7C #7CEDD4
split-complementary
#9C7CED #EDD47C #94ED7C
monochromatic
#501DD2 #7346E6 #9C7CED #C5B2F4 #EBE4FB

Accessibility & contrast

On white

3.22
#9C7CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#9C7CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7CED
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7CED#FFFFFF#000000##000000
##9C7CED1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F1
Deuteranopia (green-blind)
#5A8EEA
Tritanopia (blue-blind)
#8992A9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9c7ced;
/* rgb */ color: rgb(156, 124, 237);
/* oklch */ color: oklch(66.6% 0.164 294.6);
Tailwind
colors: {
  custom: {
    50: '#bca2f3',
    500: '#9c7ced',
    950: '#000000',
  },
}
SCSS
$custom: #9c7ced;
$custom-light: #bca2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7ced",
  "rgb": {
    "r": 156,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 256.991,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66607,
    "c": 0.16397,
    "h": 294.6
  },
  "luminance": 0.27598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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