#7E6FEB#7E6FEB

#7E6FEB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.7% C 0.180 H 285.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7E6FEB
RGBrgb(126, 111, 235)
HSLhsl(247, 76%, 68%)
HSVhsv(247, 53%, 92%)
CMYKcmyk(46.4%, 52.8%, 0%, 7.8%)
CIE-LABlab(53.82, 36.76, -61.03)
CIE-LCHlch(53.82, 71.25, 301.06°)
OKLaboklab(61.68% 0.0477 -0.1739)
OKLCHoklch(61.68% 0.18 285.3)
XYZxyz(29.2796, 21.8013, 81.2465)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FEB #DCEB6F
analogous
#6F9EEB #7E6FEB #BC6FEB
triadic
#7E6FEB #EB7E6F #6FEB7E
tetradic
#7E6FEB #EB6F9E #DCEB6F #6FEBBC
square
#7E6FEB #EB6F9E #DCEB6F #6FEBBC
split-complementary
#7E6FEB #EBBC6F #9EEB6F
monochromatic
#301BC4 #4E39E4 #7E6FEB #AEA5F2 #DEDAFA

Accessibility & contrast

On white

3.92
#7E6FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7E6FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FEB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FEB#FFFFFF#000000##000000
##7E6FEB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EF
Deuteranopia (green-blind)
#2B7DE8
Tritanopia (blue-blind)
#5A8AA2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6feb;
/* rgb */ color: rgb(126, 111, 235);
/* oklch */ color: oklch(61.7% 0.180 285.3);
Tailwind
colors: {
  custom: {
    50: '#aa98f2',
    500: '#7e6feb',
    950: '#000000',
  },
}
SCSS
$custom: #7e6feb;
$custom-light: #aa98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6feb",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 247.258,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61678,
    "c": 0.1803,
    "h": 285.3
  },
  "luminance": 0.21803
}

Semantic roles & 50–950 ramp

primary
#7E6FEB
secondary
#E9EEC8
accent
#D80EBF
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E6FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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