#7E6EED#7E6EED

#7E6EED is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.6% C 0.184 H 285.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7E6EED
RGBrgb(126, 110, 237)
HSLhsl(248, 78%, 68%)
HSVhsv(248, 54%, 93%)
CMYKcmyk(46.8%, 53.6%, 0%, 7.1%)
CIE-LABlab(53.71, 37.92, -62.32)
CIE-LCHlch(53.71, 72.95, 301.32°)
OKLaboklab(61.64% 0.0489 -0.1777)
OKLCHoklch(61.64% 0.184 285.4)
XYZxyz(29.4617, 21.7006, 82.7406)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6EED #DDED6E
analogous
#6E9DED #7E6EED #BD6EED
triadic
#7E6EED #ED7E6E #6EED7E
tetradic
#7E6EED #ED6E9D #DDED6E #6EEDBD
square
#7E6EED #ED6E9D #DDED6E #6EEDBD
split-complementary
#7E6EED #EDBD6E #9DED6E
monochromatic
#2F19C8 #4E38E6 #7E6EED #AEA4F4 #DFDBFB

Accessibility & contrast

On white

3.93
#7E6EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7E6EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6EED
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6EED#FFFFFF#000000##000000
##7E6EED1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2984F1
Deuteranopia (green-blind)
#247DEA
Tritanopia (blue-blind)
#588AA3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6eed;
/* rgb */ color: rgb(126, 110, 237);
/* oklch */ color: oklch(61.6% 0.184 285.4);
Tailwind
colors: {
  custom: {
    50: '#aa98f4',
    500: '#7e6eed',
    950: '#000000',
  },
}
SCSS
$custom: #7e6eed;
$custom-light: #aa98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6eed",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 237
  },
  "hsl": {
    "h": 247.559,
    "s": 77.914,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61638,
    "c": 0.18429,
    "h": 285.4
  },
  "luminance": 0.21702
}

Semantic roles & 50–950 ramp

primary
#7E6EED
secondary
#EAEFC8
accent
#DA0BC0
background
#FAF9FF
surface
#F5F2FE
border
#CFCCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6EED

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

Preview Lab → · Contrast checker → · Palette generator →

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