#7E6CED#7E6CED

#7E6CED is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.3% C 0.187 H 285.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7E6CED
RGBrgb(126, 108, 237)
HSLhsl(248, 78%, 68%)
HSVhsv(248, 54%, 93%)
CMYKcmyk(46.8%, 54.4%, 0%, 7.1%)
CIE-LABlab(53.25, 39.08, -63.06)
CIE-LCHlch(53.25, 74.19, 301.79°)
OKLaboklab(61.3% 0.0511 -0.1799)
OKLCHoklch(61.3% 0.187 285.9)
XYZxyz(29.2483, 21.2739, 82.6695)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6CED #DBED6C
analogous
#6C9AED #7E6CED #BE6CED
triadic
#7E6CED #ED7E6C #6CED7E
tetradic
#7E6CED #ED6C9A #DBED6C #6CEDBE
square
#7E6CED #ED6C9A #DBED6C #6CEDBE
split-complementary
#7E6CED #EDBE6C #9AED6C
monochromatic
#3118C6 #4E35E6 #7E6CED #AEA3F4 #DED9FA

Accessibility & contrast

On white

4.00
#7E6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7E6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6CED
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6CED#FFFFFF#000000##000000
##7E6CED1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2283F1
Deuteranopia (green-blind)
#1E7BEA
Tritanopia (blue-blind)
#5989A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e6ced;
/* rgb */ color: rgb(126, 108, 237);
/* oklch */ color: oklch(61.3% 0.187 285.9);
Tailwind
colors: {
  custom: {
    50: '#aa96f4',
    500: '#7e6ced',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ced;
$custom-light: #aa96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ced",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 248.372,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61296,
    "c": 0.18699,
    "h": 285.9
  },
  "luminance": 0.21275
}

Semantic roles & 50–950 ramp

primary
#7E6CED
secondary
#E9EEC6
accent
#DA0BBE
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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