#7E68EA#7E68EA

#7E68EA is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.4% C 0.189 H 287.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7E68EA
RGBrgb(126, 104, 234)
HSLhsl(250, 76%, 66%)
HSVhsv(250, 56%, 92%)
CMYKcmyk(46.2%, 55.6%, 0%, 8.2%)
CIE-LABlab(52.15, 40.54, -63.16)
CIE-LCHlch(52.15, 75.05, 302.69°)
OKLaboklab(60.42% 0.0555 -0.1802)
OKLCHoklch(60.42% 0.189 287.1)
XYZxyz(28.4015, 20.2756, 80.2430)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68EA #D4EA68
analogous
#6893EA #7E68EA #BF68EA
triadic
#7E68EA #EA7E68 #68EA7E
tetradic
#7E68EA #EA6893 #D4EA68 #68EABF
square
#7E68EA #EA6893 #D4EA68 #68EABF
split-complementary
#7E68EA #EABF68 #93EA68
monochromatic
#361ABD #5032E3 #7E68EA #AC9EF1 #DAD3F9

Accessibility & contrast

On white

4.15
#7E68EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#7E68EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68EA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68EA#FFFFFF#000000##000000
##7E68EA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1880EE
Deuteranopia (green-blind)
#1679E7
Tritanopia (blue-blind)
#5B859F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e68ea;
/* rgb */ color: rgb(126, 104, 234);
/* oklch */ color: oklch(60.4% 0.189 287.1);
Tailwind
colors: {
  custom: {
    50: '#aa94f1',
    500: '#7e68ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e68ea;
$custom-light: #aa94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68ea",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 250.154,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6042,
    "c": 0.18852,
    "h": 287.1
  },
  "luminance": 0.20277
}

Semantic roles & 50–950 ramp

primary
#7E68EA
secondary
#E5ECC2
accent
#D80EB6
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E68EA

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

Preview Lab → · Contrast checker → · Palette generator →

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