#9C7EE7#9C7EE7

#9C7EE7 is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.6% C 0.153 H 295.1°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9C7EE7
RGBrgb(156, 126, 231)
HSLhsl(257, 69%, 70%)
HSVhsv(257, 45%, 91%)
CMYKcmyk(32.5%, 45.5%, 0%, 9.4%)
CIE-LABlab(59.67, 34.23, -49.30)
CIE-LCHlch(59.67, 60.02, 304.77°)
OKLaboklab(66.62% 0.0649 -0.1387)
OKLCHoklch(66.62% 0.153 295.1)
XYZxyz(35.5913, 27.7586, 79.0686)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7EE7 #C9E77E
analogous
#7E94E7 #9C7EE7 #D17EE7
triadic
#9C7EE7 #E79C7E #7EE79C
tetradic
#9C7EE7 #E77E94 #C9E77E #7EE7D1
square
#9C7EE7 #E77E94 #C9E77E #7EE7D1
split-complementary
#9C7EE7 #E7D17E #94E77E
monochromatic
#5325C6 #744ADD #9C7EE7 #C4B2F1 #EBE5FA

Accessibility & contrast

On white

3.21
#9C7EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#9C7EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7EE7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7EE7#FFFFFF#000000##000000
##9C7EE71.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EB
Deuteranopia (green-blind)
#618EE4
Tritanopia (blue-blind)
#8B92A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9c7ee7;
/* rgb */ color: rgb(156, 126, 231);
/* oklch */ color: oklch(66.6% 0.153 295.1);
Tailwind
colors: {
  custom: {
    50: '#bca4ef',
    500: '#9c7ee7',
    950: '#000000',
  },
}
SCSS
$custom: #9c7ee7;
$custom-light: #bca4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7ee7",
  "rgb": {
    "r": 156,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 257.143,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.66615,
    "c": 0.15313,
    "h": 295.1
  },
  "luminance": 0.27759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C7EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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