#7E66EB#7E66EB

#7E66EB is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.2% C 0.192 H 287.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7E66EB
RGBrgb(126, 102, 235)
HSLhsl(251, 77%, 66%)
HSVhsv(251, 57%, 92%)
CMYKcmyk(46.4%, 56.6%, 0%, 7.8%)
CIE-LABlab(51.76, 41.97, -64.34)
CIE-LCHlch(51.76, 76.82, 303.12°)
OKLaboklab(60.16% 0.0577 -0.1836)
OKLCHoklch(60.16% 0.192 287.4)
XYZxyz(28.3466, 19.9353, 80.9355)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66EB #D3EB66
analogous
#6690EB #7E66EB #C066EB
triadic
#7E66EB #EB7E66 #66EB7E
tetradic
#7E66EB #EB6690 #D3EB66 #66EBC0
square
#7E66EB #EB6690 #D3EB66 #66EBC0
split-complementary
#7E66EB #EBC066 #90EB66
monochromatic
#3719BE #5030E4 #7E66EB #AC9CF2 #D9D2F9

Accessibility & contrast

On white

4.21
#7E66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7E66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66EB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66EB#FFFFFF#000000##000000
##7E66EB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#057FEF
Deuteranopia (green-blind)
#0578E8
Tritanopia (blue-blind)
#5A849F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e66eb;
/* rgb */ color: rgb(126, 102, 235);
/* oklch */ color: oklch(60.2% 0.192 287.4);
Tailwind
colors: {
  custom: {
    50: '#aa92f2',
    500: '#7e66eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e66eb;
$custom-light: #aa92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66eb",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 250.827,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60157,
    "c": 0.19249,
    "h": 287.4
  },
  "luminance": 0.19937
}

Semantic roles & 50–950 ramp

primary
#7E66EB
secondary
#E4ECC1
accent
#D90CB4
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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