#7E7BED#7E7BED

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

Color values

HEX#7E7BED
RGBrgb(126, 123, 237)
HSLhsl(242, 76%, 71%)
HSVhsv(242, 48%, 93%)
CMYKcmyk(46.8%, 48.1%, 0%, 7.1%)
CIE-LABlab(56.80, 30.28, -57.37)
CIE-LCHlch(56.80, 64.87, 297.83°)
OKLaboklab(63.95% 0.034 -0.1631)
OKLCHoklch(63.95% 0.167 281.8)
XYZxyz(30.9686, 24.7144, 83.2429)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7BED #EAED7B
analogous
#7BB1ED #7E7BED #B77BED
triadic
#7E7BED #ED7E7B #7BED7E
tetradic
#7E7BED #ED7BB1 #EAED7B #7BEDB7
square
#7E7BED #ED7BB1 #EAED7B #7BEDB7
split-complementary
#7E7BED #EDB77B #B1ED7B
monochromatic
#211DD1 #4945E6 #7E7BED #B3B1F4 #E5E4FB

Accessibility & contrast

On white

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

On black

5.94
#7E7BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7BED
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7BED#FFFFFF#000000##000000
##7E7BED1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF1
Deuteranopia (green-blind)
#4284EA
Tritanopia (blue-blind)
#5793A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e7bed;
/* rgb */ color: rgb(126, 123, 237);
/* oklch */ color: oklch(63.9% 0.167 281.8);
Tailwind
colors: {
  custom: {
    50: '#a9a1f3',
    500: '#7e7bed',
    950: '#000000',
  },
}
SCSS
$custom: #7e7bed;
$custom-light: #a9a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7bed",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 241.579,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6395,
    "c": 0.16658,
    "h": 281.8
  },
  "luminance": 0.24716
}

Semantic roles & 50–950 ramp

primary
#7E7BED
secondary
#F1F1D2
accent
#D80DD3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7E7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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