#7E6CF6#7E6CF6

#7E6CF6 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.9% C 0.199 H 284.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7E6CF6
RGBrgb(126, 108, 246)
HSLhsl(248, 88%, 69%)
HSVhsv(248, 56%, 96%)
CMYKcmyk(48.8%, 56.1%, 0%, 3.5%)
CIE-LABlab(53.83, 41.69, -67.14)
CIE-LCHlch(53.83, 79.03, 301.84°)
OKLaboklab(61.91% 0.0512 -0.1919)
OKLCHoklch(61.91% 0.199 284.9)
XYZxyz(30.5964, 21.8131, 89.7691)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6CF6 #E4F66C
analogous
#6C9FF6 #7E6CF6 #C36CF6
triadic
#7E6CF6 #F67E6C #6CF67E
tetradic
#7E6CF6 #F66C9F #E4F66C #6CF6C3
square
#7E6CF6 #F66C9F #E4F66C #6CF6C3
split-complementary
#7E6CF6 #F6C36C #9FF66C
monochromatic
#280DDA #4B32F2 #7E6CF6 #B1A6FA #E3DFFD

Accessibility & contrast

On white

3.92
#7E6CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7E6CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6CF6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6CF6#FFFFFF#000000##000000
##7E6CF61.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0385FB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#538BA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6cf6;
/* rgb */ color: rgb(126, 108, 246);
/* oklch */ color: oklch(61.9% 0.199 284.9);
Tailwind
colors: {
  custom: {
    50: '#ab96fa',
    500: '#7e6cf6',
    950: '#000000',
  },
}
SCSS
$custom: #7e6cf6;
$custom-light: #ab96fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6cf6",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 246
  },
  "hsl": {
    "h": 247.826,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61911,
    "c": 0.1986,
    "h": 284.9
  },
  "luminance": 0.21815
}

Semantic roles & 50–950 ramp

primary
#7E6CF6
secondary
#EEF3CB
accent
#E500C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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