#7E66EC#7E66EC

#7E66EC is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.2% C 0.194 H 287.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7E66EC
RGBrgb(126, 102, 236)
HSLhsl(251, 78%, 66%)
HSVhsv(251, 57%, 93%)
CMYKcmyk(46.6%, 56.8%, 0%, 7.5%)
CIE-LABlab(51.83, 42.26, -64.79)
CIE-LCHlch(51.83, 77.35, 303.11°)
OKLaboklab(60.23% 0.0577 -0.185)
OKLCHoklch(60.23% 0.194 287.3)
XYZxyz(28.4915, 19.9933, 81.6985)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66EC #D4EC66
analogous
#6691EC #7E66EC #C166EC
triadic
#7E66EC #EC7E66 #66EC7E
tetradic
#7E66EC #EC6691 #D4EC66 #66ECC1
square
#7E66EC #EC6691 #D4EC66 #66ECC1
split-complementary
#7E66EC #ECC166 #91EC66
monochromatic
#3618C0 #5030E5 #7E66EC #AC9CF3 #DAD3FA

Accessibility & contrast

On white

4.20
#7E66EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7E66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66EC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66EC#FFFFFF#000000##000000
##7E66EC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF0
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#5A849F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e66ec;
/* rgb */ color: rgb(126, 102, 236);
/* oklch */ color: oklch(60.2% 0.194 287.3);
Tailwind
colors: {
  custom: {
    50: '#aa92f3',
    500: '#7e66ec',
    950: '#000000',
  },
}
SCSS
$custom: #7e66ec;
$custom-light: #aa92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66ec",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 250.746,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60226,
    "c": 0.19377,
    "h": 287.3
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#7E66EC
secondary
#E5EDC1
accent
#DA0BB5
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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