#7E6DF5#7E6DF5

#7E6DF5 is a light, vivid blue. Relative luminance 0.220; OKLCH L 62.0% C 0.196 H 284.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7E6DF5
RGBrgb(126, 109, 245)
HSLhsl(248, 87%, 69%)
HSVhsv(248, 56%, 96%)
CMYKcmyk(48.6%, 55.5%, 0%, 3.9%)
CIE-LABlab(53.99, 40.82, -66.33)
CIE-LCHlch(53.99, 77.88, 301.61°)
OKLaboklab(62.01% 0.0501 -0.1895)
OKLCHoklch(62.01% 0.196 284.8)
XYZxyz(30.5494, 21.9640, 88.9983)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6DF5 #E4F56D
analogous
#6DA0F5 #7E6DF5 #C26DF5
triadic
#7E6DF5 #F57E6D #6DF57E
tetradic
#7E6DF5 #F56DA0 #E4F56D #6DF5C2
square
#7E6DF5 #F56DA0 #E4F56D #6DF5C2
split-complementary
#7E6DF5 #F5C26D #A0F56D
monochromatic
#280FD9 #4B34F1 #7E6DF5 #B1A6F9 #E3E0FD

Accessibility & contrast

On white

3.89
#7E6DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7E6DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6DF5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6DF5#FFFFFF#000000##000000
##7E6DF51.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1185FA
Deuteranopia (green-blind)
#007DF2
Tritanopia (blue-blind)
#538CA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6df5;
/* rgb */ color: rgb(126, 109, 245);
/* oklch */ color: oklch(62.0% 0.196 284.8);
Tailwind
colors: {
  custom: {
    50: '#ab97f9',
    500: '#7e6df5',
    950: '#000000',
  },
}
SCSS
$custom: #7e6df5;
$custom-light: #ab97f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6df5",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 247.5,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62009,
    "c": 0.19599,
    "h": 284.8
  },
  "luminance": 0.21965
}

Semantic roles & 50–950 ramp

primary
#7E6DF5
secondary
#EEF2CB
accent
#E402C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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