#7E6CF7#7E6CF7

#7E6CF7 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 62.0% C 0.200 H 284.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7E6CF7
RGBrgb(126, 108, 247)
HSLhsl(248, 90%, 70%)
HSVhsv(248, 56%, 97%)
CMYKcmyk(49%, 56.3%, 0%, 3.1%)
CIE-LABlab(53.89, 41.98, -67.59)
CIE-LCHlch(53.89, 79.57, 301.84°)
OKLaboklab(61.98% 0.0512 -0.1932)
OKLCHoklch(61.98% 0.2 284.8)
XYZxyz(30.7503, 21.8746, 90.5796)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6CF7 #E5F76C
analogous
#6CA0F7 #7E6CF7 #C46CF7
triadic
#7E6CF7 #F77E6C #6CF77E
tetradic
#7E6CF7 #F76CA0 #E5F76C #6CF7C4
square
#7E6CF7 #F76CA0 #E5F76C #6CF7C4
split-complementary
#7E6CF7 #F7C46C #A0F76C
monochromatic
#270CDD #4B32F4 #7E6CF7 #B1A6FA #E4E0FD

Accessibility & contrast

On white

3.91
#7E6CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7E6CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6CF7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6CF7#FFFFFF#000000##000000
##7E6CF71.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#528CA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6cf7;
/* rgb */ color: rgb(126, 108, 247);
/* oklch */ color: oklch(62.0% 0.200 284.8);
Tailwind
colors: {
  custom: {
    50: '#ab96fb',
    500: '#7e6cf7',
    950: '#000000',
  },
}
SCSS
$custom: #7e6cf7;
$custom-light: #ab96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6cf7",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 247.77,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6198,
    "c": 0.19987,
    "h": 284.8
  },
  "luminance": 0.21876
}

Semantic roles & 50–950 ramp

primary
#7E6CF7
secondary
#EEF3CC
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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