#7E6FF7#7E6FF7

#7E6FF7 is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.5% C 0.196 H 284.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7E6FF7
RGBrgb(126, 111, 247)
HSLhsl(247, 89%, 70%)
HSVhsv(247, 55%, 97%)
CMYKcmyk(49%, 55.1%, 0%, 3.1%)
CIE-LABlab(54.57, 40.25, -66.50)
CIE-LCHlch(54.57, 77.73, 301.19°)
OKLaboklab(62.48% 0.048 -0.19)
OKLCHoklch(62.48% 0.196 284.2)
XYZxyz(31.0721, 22.5183, 90.6869)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FF7 #E8F76F
analogous
#6FA4F7 #7E6FF7 #C26FF7
triadic
#7E6FF7 #F77E6F #6FF77E
tetradic
#7E6FF7 #F76FA4 #E8F76F #6FF7C2
square
#7E6FF7 #F76FA4 #E8F76F #6FF7C2
split-complementary
#7E6FF7 #F7C26F #A4F76F
monochromatic
#240CDF #4A35F4 #7E6FF7 #B2A9FA #E5E2FD

Accessibility & contrast

On white

3.82
#7E6FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7E6FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FF7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FF7#FFFFFF#000000##000000
##7E6FF71.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1787FC
Deuteranopia (green-blind)
#057EF4
Tritanopia (blue-blind)
#528EA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e6ff7;
/* rgb */ color: rgb(126, 111, 247);
/* oklch */ color: oklch(62.5% 0.196 284.2);
Tailwind
colors: {
  custom: {
    50: '#ab99fb',
    500: '#7e6ff7',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ff7;
$custom-light: #ab99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ff7",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 246.618,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.62483,
    "c": 0.19593,
    "h": 284.2
  },
  "luminance": 0.2252
}

Semantic roles & 50–950 ramp

primary
#7E6FF7
secondary
#F0F4CE
accent
#E600CC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E6FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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