#7E6CF4#7E6CF4

#7E6CF4 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.8% C 0.196 H 285.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7E6CF4
RGBrgb(126, 108, 244)
HSLhsl(248, 86%, 69%)
HSVhsv(248, 56%, 96%)
CMYKcmyk(48.4%, 55.7%, 0%, 4.3%)
CIE-LABlab(53.70, 41.11, -66.24)
CIE-LCHlch(53.70, 77.96, 301.82°)
OKLaboklab(61.77% 0.0512 -0.1892)
OKLCHoklch(61.77% 0.196 285.1)
XYZxyz(30.2910, 21.6909, 88.1611)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6CF4 #E2F46C
analogous
#6C9EF4 #7E6CF4 #C26CF4
triadic
#7E6CF4 #F47E6C #6CF47E
tetradic
#7E6CF4 #F46C9E #E2F46C #6CF4C2
square
#7E6CF4 #F46C9E #E2F46C #6CF4C2
split-complementary
#7E6CF4 #F4C26C #9EF46C
monochromatic
#2A10D6 #4C33F0 #7E6CF4 #B0A5F8 #E2DEFD

Accessibility & contrast

On white

3.93
#7E6CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7E6CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6CF4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6CF4#FFFFFF#000000##000000
##7E6CF41.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E84F9
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#548BA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6cf4;
/* rgb */ color: rgb(126, 108, 244);
/* oklch */ color: oklch(61.8% 0.196 285.1);
Tailwind
colors: {
  custom: {
    50: '#ab96f9',
    500: '#7e6cf4',
    950: '#000000',
  },
}
SCSS
$custom: #7e6cf4;
$custom-light: #ab96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6cf4",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 244
  },
  "hsl": {
    "h": 247.941,
    "s": 86.076,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61773,
    "c": 0.19602,
    "h": 285.1
  },
  "luminance": 0.21692
}

Semantic roles & 50–950 ramp

primary
#7E6CF4
secondary
#EDF2CA
accent
#E303C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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