#7E6AF5#7E6AF5

#7E6AF5 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.5% C 0.200 H 285.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7E6AF5
RGBrgb(126, 106, 245)
HSLhsl(249, 87%, 69%)
HSVhsv(249, 57%, 96%)
CMYKcmyk(48.6%, 56.7%, 0%, 3.9%)
CIE-LABlab(53.31, 42.55, -67.42)
CIE-LCHlch(53.31, 79.72, 302.26°)
OKLaboklab(61.51% 0.0533 -0.1927)
OKLCHoklch(61.51% 0.2 285.5)
XYZxyz(30.2348, 21.3348, 88.8934)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6AF5 #E1F56A
analogous
#6A9CF5 #7E6AF5 #C46AF5
triadic
#7E6AF5 #F57E6A #6AF57E
tetradic
#7E6AF5 #F56A9C #E1F56A #6AF5C4
square
#7E6AF5 #F56A9C #E1F56A #6AF5C4
split-complementary
#7E6AF5 #F5C46A #9CF56A
monochromatic
#2B0ED6 #4C31F1 #7E6AF5 #B0A3F9 #E1DDFD

Accessibility & contrast

On white

3.99
#7E6AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7E6AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6AF5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6AF5#FFFFFF#000000##000000
##7E6AF51.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#548AA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e6af5;
/* rgb */ color: rgb(126, 106, 245);
/* oklch */ color: oklch(61.5% 0.200 285.5);
Tailwind
colors: {
  custom: {
    50: '#ab95f9',
    500: '#7e6af5',
    950: '#000000',
  },
}
SCSS
$custom: #7e6af5;
$custom-light: #ab95f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6af5",
  "rgb": {
    "r": 126,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 248.633,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6151,
    "c": 0.19993,
    "h": 285.5
  },
  "luminance": 0.21336
}

Semantic roles & 50–950 ramp

primary
#7E6AF5
secondary
#ECF2C9
accent
#E402C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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