#7E6DFB#7E6DFB

#7E6DFB is a light, highly saturated blue. Relative luminance 0.223; OKLCH L 62.4% C 0.204 H 284.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7E6DFB
RGBrgb(126, 109, 251)
HSLhsl(247, 95%, 71%)
HSVhsv(247, 57%, 98%)
CMYKcmyk(49.8%, 56.6%, 0%, 1.6%)
CIE-LABlab(54.38, 42.57, -69.02)
CIE-LCHlch(54.38, 81.09, 301.67°)
OKLaboklab(62.43% 0.0502 -0.1974)
OKLCHoklch(62.43% 0.204 284.3)
XYZxyz(31.4802, 22.3363, 93.9007)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6DFB #EAFB6D
analogous
#6DA3FB #7E6DFB #C56DFB
triadic
#7E6DFB #FB7E6D #6DFB7E
tetradic
#7E6DFB #FB6DA3 #EAFB6D #6DFBC5
square
#7E6DFB #FB6DA3 #EAFB6D #6DFBC5
split-complementary
#7E6DFB #FBC56D #A3FB6D
monochromatic
#2106E7 #4931F9 #7E6DFB #B3A9FD #E5E1FE

Accessibility & contrast

On white

3.84
#7E6DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7E6DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6DFB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6DFB#FFFFFF#000000##000000
##7E6DFB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#4F8DAA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e6dfb;
/* rgb */ color: rgb(126, 109, 251);
/* oklch */ color: oklch(62.4% 0.204 284.3);
Tailwind
colors: {
  custom: {
    50: '#ac97fd',
    500: '#7e6dfb',
    950: '#000000',
  },
}
SCSS
$custom: #7e6dfb;
$custom-light: #ac97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6dfb",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 247.183,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62425,
    "c": 0.20367,
    "h": 284.3
  },
  "luminance": 0.22338
}

Semantic roles & 50–950 ramp

primary
#7E6DFB
secondary
#F1F5CF
accent
#E600CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7E6DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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