#7E7CED#7E7CED

#7E7CED is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.1% C 0.165 H 281.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7E7CED
RGBrgb(126, 124, 237)
HSLhsl(241, 76%, 71%)
HSVhsv(241, 48%, 93%)
CMYKcmyk(46.8%, 47.7%, 0%, 7.1%)
CIE-LABlab(57.04, 29.69, -56.98)
CIE-LCHlch(57.04, 64.25, 297.52°)
OKLaboklab(64.13% 0.0329 -0.1619)
OKLCHoklch(64.13% 0.165 281.5)
XYZxyz(31.0933, 24.9638, 83.2845)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7CED #EBED7C
analogous
#7CB2ED #7E7CED #B67CED
triadic
#7E7CED #ED7E7C #7CED7E
tetradic
#7E7CED #ED7CB2 #EBED7C #7CEDB6
square
#7E7CED #ED7CB2 #EBED7C #7CEDB6
split-complementary
#7E7CED #EDB67C #B2ED7C
monochromatic
#201DD2 #4946E6 #7E7CED #B3B2F4 #E5E4FB

Accessibility & contrast

On white

3.50
#7E7CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#7E7CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7CED
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7CED#FFFFFF#000000##000000
##7E7CED1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF1
Deuteranopia (green-blind)
#4485EA
Tritanopia (blue-blind)
#5794A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e7ced;
/* rgb */ color: rgb(126, 124, 237);
/* oklch */ color: oklch(64.1% 0.165 281.5);
Tailwind
colors: {
  custom: {
    50: '#a9a2f3',
    500: '#7e7ced',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ced;
$custom-light: #a9a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ced",
  "rgb": {
    "r": 126,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 241.062,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64134,
    "c": 0.16521,
    "h": 281.5
  },
  "luminance": 0.24965
}

Semantic roles & 50–950 ramp

primary
#7E7CED
secondary
#F1F2D3
accent
#D80DD4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7E7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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