#7E6AF7#7E6AF7

#7E6AF7 is a mid, highly saturated blue. Relative luminance 0.215; OKLCH L 61.7% C 0.202 H 285.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7E6AF7
RGBrgb(126, 106, 247)
HSLhsl(249, 90%, 69%)
HSVhsv(249, 57%, 97%)
CMYKcmyk(49%, 57.1%, 0%, 3.1%)
CIE-LABlab(53.45, 43.13, -68.32)
CIE-LCHlch(53.45, 80.79, 302.27°)
OKLaboklab(61.65% 0.0533 -0.1953)
OKLCHoklch(61.65% 0.202 285.3)
XYZxyz(30.5417, 21.4576, 90.5101)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6AF7 #E3F76A
analogous
#6A9DF7 #7E6AF7 #C56AF7
triadic
#7E6AF7 #F77E6A #6AF77E
tetradic
#7E6AF7 #F76A9D #E3F76A #6AF7C5
square
#7E6AF7 #F76A9D #E3F76A #6AF7C5
split-complementary
#7E6AF7 #F7C56A #9DF76A
monochromatic
#290CDB #4C30F4 #7E6AF7 #B0A4FA #E3DEFD

Accessibility & contrast

On white

3.97
#7E6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#7E6AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6AF7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6AF7#FFFFFF#000000##000000
##7E6AF71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#528AA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6af7;
/* rgb */ color: rgb(126, 106, 247);
/* oklch */ color: oklch(61.7% 0.202 285.3);
Tailwind
colors: {
  custom: {
    50: '#ab95fb',
    500: '#7e6af7',
    950: '#000000',
  },
}
SCSS
$custom: #7e6af7;
$custom-light: #ab95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6af7",
  "rgb": {
    "r": 126,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 248.511,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6165,
    "c": 0.20248,
    "h": 285.3
  },
  "luminance": 0.21459
}

Semantic roles & 50–950 ramp

primary
#7E6AF7
secondary
#EDF3CA
accent
#E600C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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