#7C66E7#7C66E7

#7C66E7 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.7% C 0.187 H 287.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7C66E7
RGBrgb(124, 102, 231)
HSLhsl(250, 73%, 65%)
HSVhsv(250, 56%, 91%)
CMYKcmyk(46.3%, 55.8%, 0%, 9.4%)
CIE-LABlab(51.33, 40.41, -62.80)
CIE-LCHlch(51.33, 74.68, 302.76°)
OKLaboklab(59.71% 0.0552 -0.1792)
OKLCHoklch(59.71% 0.187 287.1)
XYZxyz(27.4832, 19.5562, 77.9124)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C66E7 #D1E766
analogous
#6690E7 #7C66E7 #BD66E7
triadic
#7C66E7 #E77C66 #66E77C
tetradic
#7C66E7 #E76690 #D1E766 #66E7BD
square
#7C66E7 #E76690 #D1E766 #66E7BD
split-complementary
#7C66E7 #E7BD66 #90E766
monochromatic
#371DB6 #4F31DF #7C66E7 #A99BEF #D7D0F8

Accessibility & contrast

On white

4.28
#7C66E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7C66E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C66E7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C66E7#FFFFFF#000000##000000
##7C66E71.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#147DEB
Deuteranopia (green-blind)
#1277E4
Tritanopia (blue-blind)
#59839D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7c66e7;
/* rgb */ color: rgb(124, 102, 231);
/* oklch */ color: oklch(59.7% 0.187 287.1);
Tailwind
colors: {
  custom: {
    50: '#a992ef',
    500: '#7c66e7',
    950: '#000000',
  },
}
SCSS
$custom: #7c66e7;
$custom-light: #a992ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7c66e7",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 250.233,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59713,
    "c": 0.18749,
    "h": 287.1
  },
  "luminance": 0.19557
}

Semantic roles & 50–950 ramp

primary
#7C66E7
secondary
#E3EABF
accent
#D511B3
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7C66E7

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

Preview Lab → · Contrast checker → · Palette generator →

#7C66E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva