#9C7FD4#9C7FD4

#9C7FD4 is a light, vivid violet. Relative luminance 0.270; OKLCH L 65.8% C 0.126 H 298.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9C7FD4
RGBrgb(156, 127, 212)
HSLhsl(260, 50%, 66%)
HSVhsv(260, 40%, 83%)
CMYKcmyk(26.4%, 40.1%, 0%, 16.9%)
CIE-LABlab(58.97, 28.90, -39.77)
CIE-LCHlch(58.97, 49.16, 306.00°)
OKLaboklab(65.79% 0.0605 -0.111)
OKLCHoklch(65.79% 0.126 298.6)
XYZxyz(33.1806, 26.9999, 65.7380)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7FD4 #B7D47F
analogous
#7F8DD4 #9C7FD4 #C77FD4
triadic
#9C7FD4 #D49C7F #7FD49C
tetradic
#9C7FD4 #D47F8D #B7D47F #7FD4C7
square
#9C7FD4 #D47F8D #B7D47F #7FD4C7
split-complementary
#9C7FD4 #D4C77F #8DD47F
monochromatic
#5B36A2 #7951C5 #9C7FD4 #BFADE3 #E3DBF3

Accessibility & contrast

On white

3.28
#9C7FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#9C7FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7FD4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7FD4#FFFFFF#000000##000000
##9C7FD41.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ED7
Deuteranopia (green-blind)
#6E8DD2
Tritanopia (blue-blind)
#918E9F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c7fd4;
/* rgb */ color: rgb(156, 127, 212);
/* oklch */ color: oklch(65.8% 0.126 298.6);
Tailwind
colors: {
  custom: {
    50: '#bba4e1',
    500: '#9c7fd4',
    950: '#000000',
  },
}
SCSS
$custom: #9c7fd4;
$custom-light: #bba4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7fd4",
  "rgb": {
    "r": 156,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 260.471,
    "s": 49.708,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65786,
    "c": 0.12638,
    "h": 298.6
  },
  "luminance": 0.27
}

Semantic roles & 50–950 ramp

primary
#9C7FD4
secondary
#DCE5CA
accent
#BD288A
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #9C7FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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