#7E6ED9#7E6ED9

#7E6ED9 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.4% C 0.158 H 287.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7E6ED9
RGBrgb(126, 110, 217)
HSLhsl(249, 58%, 64%)
HSVhsv(249, 49%, 85%)
CMYKcmyk(41.9%, 49.3%, 0%, 14.9%)
CIE-LABlab(52.50, 32.19, -53.01)
CIE-LCHlch(52.50, 62.02, 301.27°)
OKLaboklab(60.35% 0.0476 -0.1503)
OKLCHoklch(60.35% 0.158 287.6)
XYZxyz(26.7010, 20.5963, 68.2008)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6ED9 #C9D96E
analogous
#6E94D9 #7E6ED9 #B46ED9
triadic
#7E6ED9 #D97E6E #6ED97E
tetradic
#7E6ED9 #D96E94 #C9D96E #6ED9B4
square
#7E6ED9 #D96E94 #C9D96E #6ED9B4
split-complementary
#7E6ED9 #D9B46E #94D96E
monochromatic
#3C2AA2 #533ECC #7E6ED9 #A99EE6 #D4CFF2

Accessibility & contrast

On white

4.10
#7E6ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7E6ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6ED9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6ED9#FFFFFF#000000##000000
##7E6ED91.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4280DD
Deuteranopia (green-blind)
#417AD7
Tritanopia (blue-blind)
#638499
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e6ed9;
/* rgb */ color: rgb(126, 110, 217);
/* oklch */ color: oklch(60.4% 0.158 287.6);
Tailwind
colors: {
  custom: {
    50: '#a898e5',
    500: '#7e6ed9',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ed9;
$custom-light: #a898e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ed9",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 217
  },
  "hsl": {
    "h": 248.972,
    "s": 58.47,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.15769,
    "h": 287.6
  },
  "luminance": 0.20597
}

Semantic roles & 50–950 ramp

primary
#7E6ED9
secondary
#DEE4BF
accent
#C61FAD
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E6ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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