#7E6FEF#7E6FEF

#7E6FEF is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.9% C 0.186 H 284.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7E6FEF
RGBrgb(126, 111, 239)
HSLhsl(247, 80%, 69%)
HSVhsv(247, 54%, 94%)
CMYKcmyk(47.3%, 53.6%, 0%, 6.3%)
CIE-LABlab(54.06, 37.92, -62.87)
CIE-LCHlch(54.06, 73.41, 301.10°)
OKLaboklab(61.94% 0.0478 -0.1793)
OKLCHoklch(61.94% 0.186 284.9)
XYZxyz(29.8640, 22.0351, 84.3242)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FEF #E0EF6F
analogous
#6FA0EF #7E6FEF #BE6FEF
triadic
#7E6FEF #EF7E6F #6FEF7E
tetradic
#7E6FEF #EF6FA0 #E0EF6F #6FEFBE
square
#7E6FEF #EF6FA0 #E0EF6F #6FEFBE
split-complementary
#7E6FEF #EFBE6F #A0EF6F
monochromatic
#2C17CD #4D38E9 #7E6FEF #AFA6F5 #E1DDFB

Accessibility & contrast

On white

3.88
#7E6FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7E6FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FEF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FEF#FFFFFF#000000##000000
##7E6FEF1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2985F3
Deuteranopia (green-blind)
#237DEC
Tritanopia (blue-blind)
#578BA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6fef;
/* rgb */ color: rgb(126, 111, 239);
/* oklch */ color: oklch(61.9% 0.186 284.9);
Tailwind
colors: {
  custom: {
    50: '#aa98f5',
    500: '#7e6fef',
    950: '#000000',
  },
}
SCSS
$custom: #7e6fef;
$custom-light: #aa98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6fef",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 247.031,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61943,
    "c": 0.18555,
    "h": 284.9
  },
  "luminance": 0.22036
}

Semantic roles & 50–950 ramp

primary
#7E6FEF
secondary
#ECF0CA
accent
#DC09C4
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E6FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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