#7E68EB#7E68EB

#7E68EB is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.5% C 0.190 H 287.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7E68EB
RGBrgb(126, 104, 235)
HSLhsl(250, 77%, 66%)
HSVhsv(250, 56%, 92%)
CMYKcmyk(46.4%, 55.7%, 0%, 7.8%)
CIE-LABlab(52.21, 40.82, -63.61)
CIE-LCHlch(52.21, 75.59, 302.69°)
OKLaboklab(60.49% 0.0555 -0.1815)
OKLCHoklch(60.49% 0.19 287)
XYZxyz(28.5455, 20.3332, 81.0018)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68EB #D5EB68
analogous
#6894EB #7E68EB #BF68EB
triadic
#7E68EB #EB7E68 #68EB7E
tetradic
#7E68EB #EB6894 #D5EB68 #68EBBF
square
#7E68EB #EB6894 #D5EB68 #68EBBF
split-complementary
#7E68EB #EBBF68 #94EB68
monochromatic
#3519BF #5032E4 #7E68EB #AC9EF2 #DAD4F9

Accessibility & contrast

On white

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

On black

5.07
#7E68EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68EB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68EB#FFFFFF#000000##000000
##7E68EB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1580EF
Deuteranopia (green-blind)
#1379E8
Tritanopia (blue-blind)
#5A85A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e68eb;
/* rgb */ color: rgb(126, 104, 235);
/* oklch */ color: oklch(60.5% 0.190 287.0);
Tailwind
colors: {
  custom: {
    50: '#aa94f2',
    500: '#7e68eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e68eb;
$custom-light: #aa94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68eb",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 250.076,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60488,
    "c": 0.18981,
    "h": 287
  },
  "luminance": 0.20334
}

Semantic roles & 50–950 ramp

primary
#7E68EB
secondary
#E6EDC2
accent
#D90DB7
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E68EB

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

Preview Lab → · Contrast checker → · Palette generator →

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