#9C7AE3#9C7AE3

#9C7AE3 is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.7% C 0.154 H 296.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9C7AE3
RGBrgb(156, 122, 227)
HSLhsl(259, 65%, 68%)
HSVhsv(259, 46%, 89%)
CMYKcmyk(31.3%, 46.3%, 0%, 11%)
CIE-LABlab(58.54, 35.49, -48.86)
CIE-LCHlch(58.54, 60.39, 305.99°)
OKLaboklab(65.7% 0.0697 -0.1374)
OKLCHoklch(65.7% 0.154 296.9)
XYZxyz(34.5316, 26.5326, 75.9602)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7AE3 #C1E37A
analogous
#7A8CE3 #9C7AE3 #D07AE3
triadic
#9C7AE3 #E39C7A #7AE39C
tetradic
#9C7AE3 #E37A8C #C1E37A #7AE3D0
square
#9C7AE3 #E37A8C #C1E37A #7AE3D0
split-complementary
#9C7AE3 #E3D07A #8CE37A
monochromatic
#5727BB #7647D8 #9C7AE3 #C2ADEE #E7DFF8

Accessibility & contrast

On white

3.33
#9C7AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#9C7AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7AE3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7AE3#FFFFFF#000000##000000
##9C7AE31.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#588DE7
Deuteranopia (green-blind)
#5F8CE0
Tritanopia (blue-blind)
#8D8EA4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c7ae3;
/* rgb */ color: rgb(156, 122, 227);
/* oklch */ color: oklch(65.7% 0.154 296.9);
Tailwind
colors: {
  custom: {
    50: '#bca1ec',
    500: '#9c7ae3',
    950: '#000000',
  },
}
SCSS
$custom: #9c7ae3;
$custom-light: #bca1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7ae3",
  "rgb": {
    "r": 156,
    "g": 122,
    "b": 227
  },
  "hsl": {
    "h": 259.429,
    "s": 65.217,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65699,
    "c": 0.15406,
    "h": 296.9
  },
  "luminance": 0.26533
}

Semantic roles & 50–950 ramp

primary
#9C7AE3
secondary
#E2ECCD
accent
#CD1893
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #9C7AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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