#7E6BED#7E6BED

#7E6BED is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.1% C 0.188 H 286.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7E6BED
RGBrgb(126, 107, 237)
HSLhsl(249, 78%, 67%)
HSVhsv(249, 55%, 93%)
CMYKcmyk(46.8%, 54.9%, 0%, 7.1%)
CIE-LABlab(53.02, 39.66, -63.43)
CIE-LCHlch(53.02, 74.81, 302.02°)
OKLaboklab(61.13% 0.0522 -0.181)
OKLCHoklch(61.13% 0.188 286.1)
XYZxyz(29.1435, 21.0641, 82.6345)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BED #DAED6B
analogous
#6B99ED #7E6BED #BF6BED
triadic
#7E6BED #ED7E6B #6BED7E
tetradic
#7E6BED #ED6B99 #DAED6B #6BEDBF
square
#7E6BED #ED6B99 #DAED6B #6BEDBF
split-complementary
#7E6BED #EDBF6B #99ED6B
monochromatic
#3118C6 #4E34E6 #7E6BED #AEA2F4 #DDD8FA

Accessibility & contrast

On white

4.03
#7E6BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7E6BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BED
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BED#FFFFFF#000000##000000
##7E6BED1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E82F1
Deuteranopia (green-blind)
#1A7BEA
Tritanopia (blue-blind)
#5988A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e6bed;
/* rgb */ color: rgb(126, 107, 237);
/* oklch */ color: oklch(61.1% 0.188 286.1);
Tailwind
colors: {
  custom: {
    50: '#aa96f4',
    500: '#7e6bed',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bed;
$custom-light: #aa96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bed",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 248.769,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61127,
    "c": 0.18834,
    "h": 286.1
  },
  "luminance": 0.21065
}

Semantic roles & 50–950 ramp

primary
#7E6BED
secondary
#E8EEC6
accent
#DB0BBC
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6BED

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

Preview Lab → · Contrast checker → · Palette generator →

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