#7E6AF0#7E6AF0

#7E6AF0 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 61.2% C 0.194 H 286.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7E6AF0
RGBrgb(126, 106, 240)
HSLhsl(249, 82%, 68%)
HSVhsv(249, 56%, 94%)
CMYKcmyk(47.5%, 55.8%, 0%, 5.9%)
CIE-LABlab(52.99, 41.11, -65.16)
CIE-LCHlch(52.99, 77.04, 302.25°)
OKLaboklab(61.16% 0.0533 -0.186)
OKLCHoklch(61.16% 0.194 286)
XYZxyz(29.4818, 21.0336, 84.9276)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6AF0 #DCF06A
analogous
#6A99F0 #7E6AF0 #C16AF0
triadic
#7E6AF0 #F07E6A #6AF07E
tetradic
#7E6AF0 #F06A99 #DCF06A #6AF0C1
square
#7E6AF0 #F06A99 #DCF06A #6AF0C1
split-complementary
#7E6AF0 #F0C16A #99F06A
monochromatic
#3014CB #4E32EA #7E6AF0 #AEA2F6 #DED9FB

Accessibility & contrast

On white

4.03
#7E6AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7E6AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6AF0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6AF0#FFFFFF#000000##000000
##7E6AF01.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F82F5
Deuteranopia (green-blind)
#077BED
Tritanopia (blue-blind)
#5788A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e6af0;
/* rgb */ color: rgb(126, 106, 240);
/* oklch */ color: oklch(61.2% 0.194 286.0);
Tailwind
colors: {
  custom: {
    50: '#ab95f6',
    500: '#7e6af0',
    950: '#000000',
  },
}
SCSS
$custom: #7e6af0;
$custom-light: #ab95f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6af0",
  "rgb": {
    "r": 126,
    "g": 106,
    "b": 240
  },
  "hsl": {
    "h": 248.955,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61164,
    "c": 0.19355,
    "h": 286
  },
  "luminance": 0.21035
}

Semantic roles & 50–950 ramp

primary
#7E6AF0
secondary
#E9F0C6
accent
#DE07BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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