#7E7FD2#7E7FD2

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

Color values

HEX#7E7FD2
RGBrgb(126, 127, 210)
HSLhsl(239, 48%, 66%)
HSVhsv(239, 40%, 82%)
CMYKcmyk(40%, 39.5%, 0%, 17.6%)
CIE-LABlab(56.35, 20.12, -42.94)
CIE-LCHlch(56.35, 47.42, 295.11°)
OKLaboklab(63.15% 0.0251 -0.1208)
OKLCHoklch(63.15% 0.123 281.7)
XYZxyz(27.8231, 24.2664, 64.1782)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7FD2 #D2D17E
analogous
#7EA9D2 #7E7FD2 #A77ED2
triadic
#7E7FD2 #D27E7F #7FD27E
tetradic
#7E7FD2 #D27EA9 #D2D17E #7ED2A7
square
#7E7FD2 #D27EA9 #D2D17E #7ED2A7
split-complementary
#7E7FD2 #D2A77E #A9D27E
monochromatic
#37389E #5152C2 #7E7FD2 #ABACE2 #D9D9F2

Accessibility & contrast

On white

3.59
#7E7FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#7E7FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7FD2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7FD2#FFFFFF#000000##000000
##7E7FD21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#628AD5
Deuteranopia (green-blind)
#5E84D0
Tritanopia (blue-blind)
#658F9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e7fd2;
/* rgb */ color: rgb(126, 127, 210);
/* oklch */ color: oklch(63.1% 0.123 281.7);
Tailwind
colors: {
  custom: {
    50: '#a7a4e0',
    500: '#7e7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #7e7fd2;
$custom-light: #a7a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7fd2",
  "rgb": {
    "r": 126,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 239.286,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63146,
    "c": 0.12341,
    "h": 281.7
  },
  "luminance": 0.24268
}

Semantic roles & 50–950 ramp

primary
#7E7FD2
secondary
#E4E3C8
accent
#BA2ABC
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #7E7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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