#7E6CE5#7E6CE5

#7E6CE5 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.8% C 0.177 H 286.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7E6CE5
RGBrgb(126, 108, 229)
HSLhsl(249, 70%, 66%)
HSVhsv(249, 53%, 90%)
CMYKcmyk(45%, 52.8%, 0%, 10.2%)
CIE-LABlab(52.75, 36.78, -59.38)
CIE-LCHlch(52.75, 69.85, 301.77°)
OKLaboklab(60.77% 0.0508 -0.1691)
OKLCHoklch(60.77% 0.177 286.7)
XYZxyz(28.1055, 20.8167, 76.6507)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6CE5 #D3E56C
analogous
#6C96E5 #7E6CE5 #BA6CE5
triadic
#7E6CE5 #E57E6C #6CE57E
tetradic
#7E6CE5 #E56C96 #D3E56C #6CE5BA
square
#7E6CE5 #E56C96 #D3E56C #6CE5BA
split-complementary
#7E6CE5 #E5BA6C #96E56C
monochromatic
#3720B6 #5038DC #7E6CE5 #ACA0EE #D9D4F7

Accessibility & contrast

On white

4.07
#7E6CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7E6CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6CE5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6CE5#FFFFFF#000000##000000
##7E6CE51.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3081E9
Deuteranopia (green-blind)
#2E7BE2
Tritanopia (blue-blind)
#5D869E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e6ce5;
/* rgb */ color: rgb(126, 108, 229);
/* oklch */ color: oklch(60.8% 0.177 286.7);
Tailwind
colors: {
  custom: {
    50: '#a996ee',
    500: '#7e6ce5',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ce5;
$custom-light: #a996ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ce5",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 229
  },
  "hsl": {
    "h": 248.926,
    "s": 69.942,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60765,
    "c": 0.17653,
    "h": 286.7
  },
  "luminance": 0.20818
}

Semantic roles & 50–950 ramp

primary
#7E6CE5
secondary
#E4EAC3
accent
#D214B6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E6CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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