#9C7FE7#9C7FE7

#9C7FE7 is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.8% C 0.152 H 294.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9C7FE7
RGBrgb(156, 127, 231)
HSLhsl(257, 68%, 70%)
HSVhsv(257, 45%, 91%)
CMYKcmyk(32.5%, 45%, 0%, 9.4%)
CIE-LABlab(59.90, 33.66, -48.93)
CIE-LCHlch(59.90, 59.39, 304.52°)
OKLaboklab(66.79% 0.0636 -0.1376)
OKLCHoklch(66.79% 0.152 294.8)
XYZxyz(35.7199, 28.0156, 79.1114)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7FE7 #CAE77F
analogous
#7F96E7 #9C7FE7 #D07FE7
triadic
#9C7FE7 #E79C7F #7FE79C
tetradic
#9C7FE7 #E77F96 #CAE77F #7FE7D0
square
#9C7FE7 #E77F96 #CAE77F #7FE7D0
split-complementary
#9C7FE7 #E7D07F #96E77F
monochromatic
#5225C6 #744BDD #9C7FE7 #C4B3F1 #EBE5FA

Accessibility & contrast

On white

3.18
#9C7FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#9C7FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7FE7
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7FE7#FFFFFF#000000##000000
##9C7FE71.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D91EB
Deuteranopia (green-blind)
#628FE4
Tritanopia (blue-blind)
#8B92A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9c7fe7;
/* rgb */ color: rgb(156, 127, 231);
/* oklch */ color: oklch(66.8% 0.152 294.8);
Tailwind
colors: {
  custom: {
    50: '#bca4ef',
    500: '#9c7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #9c7fe7;
$custom-light: #bca4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7fe7",
  "rgb": {
    "r": 156,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 256.731,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66791,
    "c": 0.1516,
    "h": 294.8
  },
  "luminance": 0.28016
}

Semantic roles & 50–950 ramp

primary
#9C7FE7
secondary
#E7EFD2
accent
#D0159C
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9C7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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