#7E6DEE#7E6DEE

#7E6DEE is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.5% C 0.187 H 285.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7E6DEE
RGBrgb(126, 109, 238)
HSLhsl(248, 79%, 68%)
HSVhsv(248, 54%, 93%)
CMYKcmyk(47.1%, 54.2%, 0%, 6.7%)
CIE-LABlab(53.54, 38.79, -63.15)
CIE-LCHlch(53.54, 74.11, 301.56°)
OKLaboklab(61.53% 0.05 -0.1801)
OKLCHoklch(61.53% 0.187 285.5)
XYZxyz(29.5009, 21.5446, 83.4764)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6DEE #DDEE6D
analogous
#6D9CEE #7E6DEE #BE6DEE
triadic
#7E6DEE #EE7E6D #6DEE7E
tetradic
#7E6DEE #EE6D9C #DDEE6D #6DEEBE
square
#7E6DEE #EE6D9C #DDEE6D #6DEEBE
split-complementary
#7E6DEE #EEBE6D #9CEE6D
monochromatic
#2F17C9 #4E36E8 #7E6DEE #AEA4F4 #DFDBFB

Accessibility & contrast

On white

3.96
#7E6DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7E6DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6DEE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6DEE#FFFFFF#000000##000000
##7E6DEE1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2484F2
Deuteranopia (green-blind)
#1F7CEB
Tritanopia (blue-blind)
#588AA3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6dee;
/* rgb */ color: rgb(126, 109, 238);
/* oklch */ color: oklch(61.5% 0.187 285.5);
Tailwind
colors: {
  custom: {
    50: '#aa97f4',
    500: '#7e6dee',
    950: '#000000',
  },
}
SCSS
$custom: #7e6dee;
$custom-light: #aa97f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6dee",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 238
  },
  "hsl": {
    "h": 247.907,
    "s": 79.141,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61534,
    "c": 0.18694,
    "h": 285.5
  },
  "luminance": 0.21546
}

Semantic roles & 50–950 ramp

primary
#7E6DEE
secondary
#EAEFC8
accent
#DB0AC0
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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