#7E6AED#7E6AED

#7E6AED is a mid, vivid blue. Relative luminance 0.209; OKLCH L 61.0% C 0.190 H 286.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7E6AED
RGBrgb(126, 106, 237)
HSLhsl(249, 78%, 67%)
HSVhsv(249, 55%, 93%)
CMYKcmyk(46.8%, 55.3%, 0%, 7.1%)
CIE-LABlab(52.79, 40.24, -63.80)
CIE-LCHlch(52.79, 75.43, 302.24°)
OKLaboklab(60.96% 0.0533 -0.182)
OKLCHoklch(60.96% 0.19 286.3)
XYZxyz(29.0398, 20.8568, 82.6000)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6AED #D9ED6A
analogous
#6A98ED #7E6AED #BF6AED
triadic
#7E6AED #ED7E6A #6AED7E
tetradic
#7E6AED #ED6A98 #D9ED6A #6AEDBF
square
#7E6AED #ED6A98 #D9ED6A #6AEDBF
split-complementary
#7E6AED #EDBF6A #98ED6A
monochromatic
#3218C5 #4F33E6 #7E6AED #ADA1F4 #DDD7FA

Accessibility & contrast

On white

4.06
#7E6AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7E6AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6AED
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6AED#FFFFFF#000000##000000
##7E6AED1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1981F1
Deuteranopia (green-blind)
#157AEA
Tritanopia (blue-blind)
#5987A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e6aed;
/* rgb */ color: rgb(126, 106, 237);
/* oklch */ color: oklch(61.0% 0.190 286.3);
Tailwind
colors: {
  custom: {
    50: '#aa95f4',
    500: '#7e6aed',
    950: '#000000',
  },
}
SCSS
$custom: #7e6aed;
$custom-light: #aa95f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6aed",
  "rgb": {
    "r": 126,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 249.16,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60959,
    "c": 0.18969,
    "h": 286.3
  },
  "luminance": 0.20858
}

Semantic roles & 50–950 ramp

primary
#7E6AED
secondary
#E8EEC5
accent
#DB0BBB
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6AED

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

Preview Lab → · Contrast checker → · Palette generator →

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