#7E6AEF#7E6AEF

#7E6AEF is a mid, vivid blue. Relative luminance 0.210; OKLCH L 61.1% C 0.192 H 286.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7E6AEF
RGBrgb(126, 106, 239)
HSLhsl(249, 81%, 68%)
HSVhsv(249, 56%, 94%)
CMYKcmyk(47.3%, 55.6%, 0%, 6.3%)
CIE-LABlab(52.92, 40.82, -64.71)
CIE-LCHlch(52.92, 76.51, 302.24°)
OKLaboklab(61.1% 0.0533 -0.1847)
OKLCHoklch(61.1% 0.192 286.1)
XYZxyz(29.3336, 20.9744, 84.1475)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6AEF #DBEF6A
analogous
#6A98EF #7E6AEF #C16AEF
triadic
#7E6AEF #EF7E6A #6AEF7E
tetradic
#7E6AEF #EF6A98 #DBEF6A #6AEFC1
square
#7E6AEF #EF6A98 #DBEF6A #6AEFC1
split-complementary
#7E6AEF #EFC16A #98EF6A
monochromatic
#3116C9 #4E33E9 #7E6AEF #AEA1F5 #DED9FB

Accessibility & contrast

On white

4.04
#7E6AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7E6AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6AEF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6AEF#FFFFFF#000000##000000
##7E6AEF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1382F3
Deuteranopia (green-blind)
#0D7AEC
Tritanopia (blue-blind)
#5888A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e6aef;
/* rgb */ color: rgb(126, 106, 239);
/* oklch */ color: oklch(61.1% 0.192 286.1);
Tailwind
colors: {
  custom: {
    50: '#aa95f5',
    500: '#7e6aef',
    950: '#000000',
  },
}
SCSS
$custom: #7e6aef;
$custom-light: #aa95f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6aef",
  "rgb": {
    "r": 126,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 249.023,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61095,
    "c": 0.19226,
    "h": 286.1
  },
  "luminance": 0.20976
}

Semantic roles & 50–950 ramp

primary
#7E6AEF
secondary
#E9EFC6
accent
#DD09BD
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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