#7E6FED#7E6FED

#7E6FED is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.8% C 0.183 H 285.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7E6FED
RGBrgb(126, 111, 237)
HSLhsl(247, 78%, 68%)
HSVhsv(247, 53%, 93%)
CMYKcmyk(46.8%, 53.2%, 0%, 7.1%)
CIE-LABlab(53.94, 37.34, -61.95)
CIE-LCHlch(53.94, 72.33, 301.08°)
OKLaboklab(61.81% 0.0477 -0.1766)
OKLCHoklch(61.81% 0.183 285.1)
XYZxyz(29.5702, 21.9176, 82.7768)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FED #DEED6F
analogous
#6F9FED #7E6FED #BD6FED
triadic
#7E6FED #ED7E6F #6FED7E
tetradic
#7E6FED #ED6F9F #DEED6F #6FEDBD
square
#7E6FED #ED6F9F #DEED6F #6FEDBD
split-complementary
#7E6FED #EDBD6F #9FED6F
monochromatic
#2E19C9 #4D39E6 #7E6FED #AFA5F4 #DFDCFB

Accessibility & contrast

On white

3.90
#7E6FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7E6FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FED
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FED#FFFFFF#000000##000000
##7E6FED1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C85F1
Deuteranopia (green-blind)
#277DEA
Tritanopia (blue-blind)
#588BA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6fed;
/* rgb */ color: rgb(126, 111, 237);
/* oklch */ color: oklch(61.8% 0.183 285.1);
Tailwind
colors: {
  custom: {
    50: '#aa98f3',
    500: '#7e6fed',
    950: '#000000',
  },
}
SCSS
$custom: #7e6fed;
$custom-light: #aa98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6fed",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 247.143,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6181,
    "c": 0.18293,
    "h": 285.1
  },
  "luminance": 0.21919
}

Semantic roles & 50–950 ramp

primary
#7E6FED
secondary
#EAEFC9
accent
#DA0BC1
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E6FED

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

Preview Lab → · Contrast checker → · Palette generator →

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