#7E6DFD#7E6DFD

#7E6DFD is a light, highly saturated blue. Relative luminance 0.225; OKLCH L 62.6% C 0.206 H 284.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7E6DFD
RGBrgb(126, 109, 253)
HSLhsl(247, 97%, 71%)
HSVhsv(247, 57%, 99%)
CMYKcmyk(50.2%, 56.9%, 0%, 0.8%)
CIE-LABlab(54.52, 43.16, -69.91)
CIE-LCHlch(54.52, 82.16, 301.69°)
OKLaboklab(62.57% 0.0501 -0.2)
OKLCHoklch(62.57% 0.206 284.1)
XYZxyz(31.7971, 22.4631, 95.5698)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6DFD #ECFD6D
analogous
#6DA4FD #7E6DFD #C66DFD
triadic
#7E6DFD #FD7E6D #6DFD7E
tetradic
#7E6DFD #FD6DA4 #ECFD6D #6DFDC6
square
#7E6DFD #FD6DA4 #ECFD6D #6DFDC6
split-complementary
#7E6DFD #FDC66D #A4FD6D
monochromatic
#1F03EC #4931FC #7E6DFD #B3A9FE #E4E1FF

Accessibility & contrast

On white

3.82
#7E6DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7E6DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6DFD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6DFD#FFFFFF#000000##000000
##7E6DFD1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007EFA
Tritanopia (blue-blind)
#4D8EAB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e6dfd;
/* rgb */ color: rgb(126, 109, 253);
/* oklch */ color: oklch(62.6% 0.206 284.1);
Tailwind
colors: {
  custom: {
    50: '#ac97ff',
    500: '#7e6dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7e6dfd;
$custom-light: #ac97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6dfd",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 247.083,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.62565,
    "c": 0.20621,
    "h": 284.1
  },
  "luminance": 0.22465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E6DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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