#7E7BEE#7E7BEE

#7E7BEE is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.0% C 0.168 H 281.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7E7BEE
RGBrgb(126, 123, 238)
HSLhsl(242, 77%, 71%)
HSVhsv(242, 48%, 93%)
CMYKcmyk(47.1%, 48.3%, 0%, 6.7%)
CIE-LABlab(56.85, 30.58, -57.83)
CIE-LCHlch(56.85, 65.42, 297.87°)
OKLaboklab(64.01% 0.0341 -0.1644)
OKLCHoklch(64.01% 0.168 281.7)
XYZxyz(31.1151, 24.7730, 84.0145)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7BEE #EBEE7B
analogous
#7BB1EE #7E7BEE #B77BEE
triadic
#7E7BEE #EE7E7B #7BEE7E
tetradic
#7E7BEE #EE7BB1 #EBEE7B #7BEEB7
square
#7E7BEE #EE7BB1 #EBEE7B #7BEEB7
split-complementary
#7E7BEE #EEB77B #B1EE7B
monochromatic
#201BD3 #4945E7 #7E7BEE #B3B1F5 #E5E4FC

Accessibility & contrast

On white

3.53
#7E7BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#7E7BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7BEE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7BEE#FFFFFF#000000##000000
##7E7BEE1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF2
Deuteranopia (green-blind)
#4184EB
Tritanopia (blue-blind)
#5694A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e7bee;
/* rgb */ color: rgb(126, 123, 238);
/* oklch */ color: oklch(64.0% 0.168 281.7);
Tailwind
colors: {
  custom: {
    50: '#aaa1f4',
    500: '#7e7bee',
    950: '#000000',
  },
}
SCSS
$custom: #7e7bee;
$custom-light: #aaa1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7bee",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 241.565,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64012,
    "c": 0.16793,
    "h": 281.7
  },
  "luminance": 0.24775
}

Semantic roles & 50–950 ramp

primary
#7E7BEE
secondary
#F1F2D3
accent
#D90CD4
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7E7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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