#9C7EFE#9C7EFE

#9C7EFE is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.9% C 0.183 H 291.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9C7EFE
RGBrgb(156, 126, 254)
HSLhsl(254, 98%, 75%)
HSVhsv(254, 50%, 100%)
CMYKcmyk(38.6%, 50.4%, 0%, 0.4%)
CIE-LABlab(60.91, 40.22, -60.05)
CIE-LCHlch(60.91, 72.27, 303.81°)
OKLaboklab(67.94% 0.0673 -0.1701)
OKLCHoklch(67.94% 0.183 291.6)
XYZxyz(39.0557, 29.1443, 97.3144)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7EFE #E0FE7E
analogous
#7EA0FE #9C7EFE #DC7EFE
triadic
#9C7EFE #FE9C7E #7EFE9C
tetradic
#9C7EFE #FE7EA0 #E0FE7E #7EFEDC
square
#9C7EFE #FE7EA0 #E0FE7E #7EFEDC
split-complementary
#9C7EFE #FEDC7E #A0FE7E
monochromatic
#3F05FD #6D41FE #9C7EFE #CBBBFE #E8E1FF

Accessibility & contrast

On white

3.08
#9C7EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#9C7EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7EFE
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7EFE#FFFFFF#000000##000000
##9C7EFE1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#4E90FB
Tritanopia (blue-blind)
#8298B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9c7efe;
/* rgb */ color: rgb(156, 126, 254);
/* oklch */ color: oklch(67.9% 0.183 291.6);
Tailwind
colors: {
  custom: {
    50: '#bea4ff',
    500: '#9c7efe',
    950: '#000000',
  },
}
SCSS
$custom: #9c7efe;
$custom-light: #bea4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7efe",
  "rgb": {
    "r": 156,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 254.063,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.67945,
    "c": 0.18295,
    "h": 291.6
  },
  "luminance": 0.29145
}

Semantic roles & 50–950 ramp

primary
#9C7EFE
secondary
#EFF7D4
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9C7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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