#7E7FD3#7E7FD3

#7E7FD3 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.2% C 0.125 H 281.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7E7FD3
RGBrgb(126, 127, 211)
HSLhsl(239, 49%, 66%)
HSVhsv(239, 40%, 83%)
CMYKcmyk(40.3%, 39.8%, 0%, 17.3%)
CIE-LABlab(56.40, 20.40, -43.43)
CIE-LCHlch(56.40, 47.98, 295.17°)
OKLaboklab(63.2% 0.0253 -0.1222)
OKLCHoklch(63.2% 0.125 281.7)
XYZxyz(27.9480, 24.3164, 64.8363)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7FD3 #D3D27E
analogous
#7EA9D3 #7E7FD3 #A77ED3
triadic
#7E7FD3 #D37E7F #7FD37E
tetradic
#7E7FD3 #D37EA9 #D3D27E #7ED3A7
square
#7E7FD3 #D37EA9 #D3D27E #7ED3A7
split-complementary
#7E7FD3 #D3A77E #A9D37E
monochromatic
#3738A0 #5052C3 #7E7FD3 #ACACE3 #D9DAF2

Accessibility & contrast

On white

3.58
#7E7FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7E7FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7FD3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7FD3#FFFFFF#000000##000000
##7E7FD31.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#628AD6
Deuteranopia (green-blind)
#5E84D1
Tritanopia (blue-blind)
#65909F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e7fd3;
/* rgb */ color: rgb(126, 127, 211);
/* oklch */ color: oklch(63.2% 0.125 281.7);
Tailwind
colors: {
  custom: {
    50: '#a7a4e1',
    500: '#7e7fd3',
    950: '#000000',
  },
}
SCSS
$custom: #7e7fd3;
$custom-light: #a7a4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7fd3",
  "rgb": {
    "r": 126,
    "g": 127,
    "b": 211
  },
  "hsl": {
    "h": 239.294,
    "s": 49.133,
    "l": 66.078
  },
  "oklch": {
    "l": 0.632,
    "c": 0.12484,
    "h": 281.7
  },
  "luminance": 0.24318
}

Semantic roles & 50–950 ramp

primary
#7E7FD3
secondary
#E4E4C8
accent
#BB29BC
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #7E7FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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