#7E6DF8#7E6DF8

#7E6DF8 is a light, vivid blue. Relative luminance 0.222; OKLCH L 62.2% C 0.200 H 284.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7E6DF8
RGBrgb(126, 109, 248)
HSLhsl(247, 91%, 70%)
HSVhsv(247, 56%, 97%)
CMYKcmyk(49.2%, 56%, 0%, 2.7%)
CIE-LABlab(54.18, 41.70, -67.68)
CIE-LCHlch(54.18, 79.49, 301.64°)
OKLaboklab(62.22% 0.0502 -0.1934)
OKLCHoklch(62.22% 0.2 284.5)
XYZxyz(31.0110, 22.1487, 91.4298)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6DF8 #E7F86D
analogous
#6DA2F8 #7E6DF8 #C36DF8
triadic
#7E6DF8 #F87E6D #6DF87E
tetradic
#7E6DF8 #F86DA2 #E7F86D #6DF8C3
square
#7E6DF8 #F86DA2 #E7F86D #6DF8C3
split-complementary
#7E6DF8 #F8C36D #A2F86D
monochromatic
#250BE0 #4A33F5 #7E6DF8 #B2A7FB #E5E2FE

Accessibility & contrast

On white

3.87
#7E6DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7E6DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6DF8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6DF8#FFFFFF#000000##000000
##7E6DF81.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0186FD
Deuteranopia (green-blind)
#007DF5
Tritanopia (blue-blind)
#518DA8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e6df8;
/* rgb */ color: rgb(126, 109, 248);
/* oklch */ color: oklch(62.2% 0.200 284.5);
Tailwind
colors: {
  custom: {
    50: '#ab97fb',
    500: '#7e6df8',
    950: '#000000',
  },
}
SCSS
$custom: #7e6df8;
$custom-light: #ab97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6df8",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 247.338,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.62216,
    "c": 0.19984,
    "h": 284.5
  },
  "luminance": 0.2215
}

Semantic roles & 50–950 ramp

primary
#7E6DF8
secondary
#EFF4CD
accent
#E600C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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