#7E6DF2#7E6DF2

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

Color values

HEX#7E6DF2
RGBrgb(126, 109, 242)
HSLhsl(248, 84%, 69%)
HSVhsv(248, 55%, 95%)
CMYKcmyk(47.9%, 55%, 0%, 5.1%)
CIE-LABlab(53.80, 39.95, -64.97)
CIE-LCHlch(53.80, 76.27, 301.59°)
OKLaboklab(61.8% 0.0501 -0.1855)
OKLCHoklch(61.8% 0.192 285.1)
XYZxyz(30.0951, 21.7823, 86.6058)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6DF2 #E1F26D
analogous
#6D9FF2 #7E6DF2 #C16DF2
triadic
#7E6DF2 #F27E6D #6DF27E
tetradic
#7E6DF2 #F26D9F #E1F26D #6DF2C1
square
#7E6DF2 #F26D9F #E1F26D #6DF2C1
split-complementary
#7E6DF2 #F2C16D #9FF26D
monochromatic
#2B13D2 #4C35ED #7E6DF2 #B0A5F7 #E1DDFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6DF2#FFFFFF#000000##000000
##7E6DF21.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)
#1B84F7
Deuteranopia (green-blind)
#127DEF
Tritanopia (blue-blind)
#558BA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6df2;
/* rgb */ color: rgb(126, 109, 242);
/* oklch */ color: oklch(61.8% 0.192 285.1);
Tailwind
colors: {
  custom: {
    50: '#ab97f7',
    500: '#7e6df2',
    950: '#000000',
  },
}
SCSS
$custom: #7e6df2;
$custom-light: #ab97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6df2",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 247.669,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61804,
    "c": 0.19212,
    "h": 285.1
  },
  "luminance": 0.21784
}

Semantic roles & 50–950 ramp

primary
#7E6DF2
secondary
#ECF1CA
accent
#E005C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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