#9C7CD4#9C7CD4

#9C7CD4 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.2% C 0.131 H 299.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9C7CD4
RGBrgb(156, 124, 212)
HSLhsl(262, 51%, 66%)
HSVhsv(262, 42%, 83%)
CMYKcmyk(26.4%, 41.5%, 0%, 16.9%)
CIE-LABlab(58.26, 30.62, -40.89)
CIE-LCHlch(58.26, 51.08, 306.82°)
OKLaboklab(65.25% 0.0647 -0.1142)
OKLCHoklch(65.25% 0.131 299.5)
XYZxyz(32.7989, 26.2365, 65.6108)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7CD4 #B4D47C
analogous
#7C88D4 #9C7CD4 #C87CD4
triadic
#9C7CD4 #D49C7C #7CD49C
tetradic
#9C7CD4 #D47C88 #B4D47C #7CD4C8
square
#9C7CD4 #D47C88 #B4D47C #7CD4C8
split-complementary
#9C7CD4 #D4C87C #88D47C
monochromatic
#5C35A1 #794EC5 #9C7CD4 #BFAAE3 #E2D8F2

Accessibility & contrast

On white

3.36
#9C7CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#9C7CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7CD4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7CD4#FFFFFF#000000##000000
##9C7CD41.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#648CD7
Deuteranopia (green-blind)
#6A8BD2
Tritanopia (blue-blind)
#918B9E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c7cd4;
/* rgb */ color: rgb(156, 124, 212);
/* oklch */ color: oklch(65.2% 0.131 299.5);
Tailwind
colors: {
  custom: {
    50: '#bba2e1',
    500: '#9c7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #9c7cd4;
$custom-light: #bba2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7cd4",
  "rgb": {
    "r": 156,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 261.818,
    "s": 50.575,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65246,
    "c": 0.13125,
    "h": 299.5
  },
  "luminance": 0.26237
}

Semantic roles & 50–950 ramp

primary
#9C7CD4
secondary
#DAE4C7
accent
#BE2887
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#120F15
muted
#817F83

Preview Lab

Preview with #9C7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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