#7E6BEC#7E6BEC

#7E6BEC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 61.1% C 0.187 H 286.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7E6BEC
RGBrgb(126, 107, 236)
HSLhsl(249, 77%, 67%)
HSVhsv(249, 55%, 93%)
CMYKcmyk(46.6%, 54.7%, 0%, 7.5%)
CIE-LABlab(52.96, 39.37, -62.97)
CIE-LCHlch(52.96, 74.27, 302.02°)
OKLaboklab(61.06% 0.0522 -0.1796)
OKLCHoklch(61.06% 0.187 286.2)
XYZxyz(28.9978, 21.0059, 81.8672)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BEC #D9EC6B
analogous
#6B99EC #7E6BEC #BE6BEC
triadic
#7E6BEC #EC7E6B #6BEC7E
tetradic
#7E6BEC #EC6B99 #D9EC6B #6BECBE
square
#7E6BEC #EC6B99 #D9EC6B #6BECBE
split-complementary
#7E6BEC #ECBE6B #99EC6B
monochromatic
#3219C4 #4F35E5 #7E6BEC #ADA1F3 #DDD7FA

Accessibility & contrast

On white

4.04
#7E6BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7E6BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BEC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BEC#FFFFFF#000000##000000
##7E6BEC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2082F0
Deuteranopia (green-blind)
#1D7BE9
Tritanopia (blue-blind)
#5988A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e6bec;
/* rgb */ color: rgb(126, 107, 236);
/* oklch */ color: oklch(61.1% 0.187 286.2);
Tailwind
colors: {
  custom: {
    50: '#aa96f3',
    500: '#7e6bec',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bec;
$custom-light: #aa96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bec",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 248.837,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61059,
    "c": 0.18705,
    "h": 286.2
  },
  "luminance": 0.21007
}

Semantic roles & 50–950 ramp

primary
#7E6BEC
secondary
#E8EEC5
accent
#D90CBB
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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