#7E7BEC#7E7BEC

#7E7BEC is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.9% C 0.165 H 281.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7E7BEC
RGBrgb(126, 123, 236)
HSLhsl(242, 75%, 70%)
HSVhsv(242, 48%, 93%)
CMYKcmyk(46.6%, 47.9%, 0%, 7.5%)
CIE-LABlab(56.74, 29.99, -56.90)
CIE-LCHlch(56.74, 64.32, 297.79°)
OKLaboklab(63.89% 0.0339 -0.1617)
OKLCHoklch(63.89% 0.165 281.9)
XYZxyz(30.8229, 24.6561, 82.4756)
Luminance0.2466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7BEC #E9EC7B
analogous
#7BB0EC #7E7BEC #B67BEC
triadic
#7E7BEC #EC7E7B #7BEC7E
tetradic
#7E7BEC #EC7BB0 #E9EC7B #7BECB6
square
#7E7BEC #EC7BB0 #E9EC7B #7BECB6
split-complementary
#7E7BEC #ECB67B #B0EC7B
monochromatic
#221ECF #4A46E4 #7E7BEC #B2B0F4 #E5E4FB

Accessibility & contrast

On white

3.54
#7E7BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#7E7BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7BEC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7BEC#FFFFFF#000000##000000
##7E7BEC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CF0
Deuteranopia (green-blind)
#4384E9
Tritanopia (blue-blind)
#5893A8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e7bec;
/* rgb */ color: rgb(126, 123, 236);
/* oklch */ color: oklch(63.9% 0.165 281.9);
Tailwind
colors: {
  custom: {
    50: '#a9a1f3',
    500: '#7e7bec',
    950: '#000000',
  },
}
SCSS
$custom: #7e7bec;
$custom-light: #a9a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7bec",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 241.593,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63889,
    "c": 0.16521,
    "h": 281.9
  },
  "luminance": 0.24658
}

Semantic roles & 50–950 ramp

primary
#7E7BEC
secondary
#F0F1D2
accent
#D70FD2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7E7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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