#7E6EF2#7E6EF2

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

Color values

HEX#7E6EF2
RGBrgb(126, 110, 242)
HSLhsl(247, 84%, 69%)
HSVhsv(247, 55%, 95%)
CMYKcmyk(47.9%, 54.5%, 0%, 5.1%)
CIE-LABlab(54.02, 39.37, -64.60)
CIE-LCHlch(54.02, 75.65, 301.36°)
OKLaboklab(61.97% 0.049 -0.1844)
OKLCHoklch(61.97% 0.191 284.9)
XYZxyz(30.2024, 21.9968, 86.6416)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6EF2 #E2F26E
analogous
#6EA0F2 #7E6EF2 #C06EF2
triadic
#7E6EF2 #F27E6E #6EF27E
tetradic
#7E6EF2 #F26EA0 #E2F26E #6EF2C0
square
#7E6EF2 #F26EA0 #E2F26E #6EF2C0
split-complementary
#7E6EF2 #F2C06E #A0F26E
monochromatic
#2A13D3 #4C36ED #7E6EF2 #B0A6F7 #E2DEFC

Accessibility & contrast

On white

3.89
#7E6EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7E6EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6EF2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6EF2#FFFFFF#000000##000000
##7E6EF21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F85F6
Deuteranopia (green-blind)
#177DEF
Tritanopia (blue-blind)
#558BA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6ef2;
/* rgb */ color: rgb(126, 110, 242);
/* oklch */ color: oklch(62.0% 0.191 284.9);
Tailwind
colors: {
  custom: {
    50: '#ab98f7',
    500: '#7e6ef2',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ef2;
$custom-light: #ab98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ef2",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 247.273,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61973,
    "c": 0.19079,
    "h": 284.9
  },
  "luminance": 0.21998
}

Semantic roles & 50–950 ramp

primary
#7E6EF2
secondary
#EDF1CB
accent
#E006C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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