#7E68E6#7E68E6

#7E68E6 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.1% C 0.183 H 287.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7E68E6
RGBrgb(126, 104, 230)
HSLhsl(250, 72%, 65%)
HSVhsv(250, 55%, 90%)
CMYKcmyk(45.2%, 54.8%, 0%, 9.8%)
CIE-LABlab(51.89, 39.39, -61.32)
CIE-LCHlch(51.89, 72.89, 302.72°)
OKLaboklab(60.15% 0.0554 -0.1748)
OKLCHoklch(60.15% 0.183 287.6)
XYZxyz(27.8333, 20.0483, 77.2507)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68E6 #D0E668
analogous
#6891E6 #7E68E6 #BD68E6
triadic
#7E68E6 #E67E68 #68E67E
tetradic
#7E68E6 #E66891 #D0E668 #68E6BD
square
#7E68E6 #E66891 #D0E668 #68E6BD
split-complementary
#7E68E6 #E6BD68 #91E668
monochromatic
#391EB6 #5133DD #7E68E6 #AB9DEF #D8D1F7

Accessibility & contrast

On white

4.19
#7E68E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7E68E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68E6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68E6#FFFFFF#000000##000000
##7E68E61.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#217FEA
Deuteranopia (green-blind)
#2178E3
Tritanopia (blue-blind)
#5D849D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e68e6;
/* rgb */ color: rgb(126, 104, 230);
/* oklch */ color: oklch(60.1% 0.183 287.6);
Tailwind
colors: {
  custom: {
    50: '#aa94ef',
    500: '#7e68e6',
    950: '#000000',
  },
}
SCSS
$custom: #7e68e6;
$custom-light: #aa94ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68e6",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 230
  },
  "hsl": {
    "h": 250.476,
    "s": 71.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60149,
    "c": 0.18336,
    "h": 287.6
  },
  "luminance": 0.20049
}

Semantic roles & 50–950 ramp

primary
#7E68E6
secondary
#E3EAC0
accent
#D412B2
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E68E6

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

Preview Lab → · Contrast checker → · Palette generator →

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