#7E68EC#7E68EC

#7E68EC is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.6% C 0.191 H 286.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7E68EC
RGBrgb(126, 104, 236)
HSLhsl(250, 78%, 67%)
HSVhsv(250, 56%, 93%)
CMYKcmyk(46.6%, 55.9%, 0%, 7.5%)
CIE-LABlab(52.28, 41.11, -64.07)
CIE-LCHlch(52.28, 76.12, 302.69°)
OKLaboklab(60.56% 0.0555 -0.1829)
OKLCHoklch(60.56% 0.191 286.9)
XYZxyz(28.6904, 20.3911, 81.7648)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68EC #D6EC68
analogous
#6894EC #7E68EC #C068EC
triadic
#7E68EC #EC7E68 #68EC7E
tetradic
#7E68EC #EC6894 #D6EC68 #68ECC0
square
#7E68EC #EC6894 #D6EC68 #68ECC0
split-complementary
#7E68EC #ECC068 #94EC68
monochromatic
#3418C1 #5032E5 #7E68EC #AC9EF3 #DBD5FA

Accessibility & contrast

On white

4.14
#7E68EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7E68EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68EC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68EC#FFFFFF#000000##000000
##7E68EC1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1180F0
Deuteranopia (green-blind)
#0E79E9
Tritanopia (blue-blind)
#5A85A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e68ec;
/* rgb */ color: rgb(126, 104, 236);
/* oklch */ color: oklch(60.6% 0.191 286.9);
Tailwind
colors: {
  custom: {
    50: '#aa94f3',
    500: '#7e68ec',
    950: '#000000',
  },
}
SCSS
$custom: #7e68ec;
$custom-light: #aa94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68ec",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 250,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60556,
    "c": 0.19109,
    "h": 286.9
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#7E68EC
secondary
#E6EDC3
accent
#DA0CB8
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E68EC

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

Preview Lab → · Contrast checker → · Palette generator →

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