#7E7CD2#7E7CD2

#7E7CD2 is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.6% C 0.128 H 283.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7E7CD2
RGBrgb(126, 124, 210)
HSLhsl(241, 49%, 65%)
HSVhsv(241, 41%, 82%)
CMYKcmyk(40%, 41%, 0%, 17.6%)
CIE-LABlab(55.59, 21.90, -44.15)
CIE-LCHlch(55.59, 49.29, 296.38°)
OKLaboklab(62.56% 0.029 -0.1244)
OKLCHoklch(62.56% 0.128 283.1)
XYZxyz(27.4414, 23.5030, 64.0509)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7CD2 #D0D27C
analogous
#7CA5D2 #7E7CD2 #A97CD2
triadic
#7E7CD2 #D27E7C #7CD27E
tetradic
#7E7CD2 #D27CA5 #D0D27C #7CD2A9
square
#7E7CD2 #D27CA5 #D0D27C #7CD2A9
split-complementary
#7E7CD2 #D2A97C #A5D27C
monochromatic
#39369D #514EC2 #7E7CD2 #ABAAE2 #D8D7F1

Accessibility & contrast

On white

3.68
#7E7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7E7CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7CD2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7CD2#FFFFFF#000000##000000
##7E7CD21.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E88D5
Deuteranopia (green-blind)
#5A82D0
Tritanopia (blue-blind)
#658D9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e7cd2;
/* rgb */ color: rgb(126, 124, 210);
/* oklch */ color: oklch(62.6% 0.128 283.1);
Tailwind
colors: {
  custom: {
    50: '#a7a1e0',
    500: '#7e7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #7e7cd2;
$custom-light: #a7a1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7cd2",
  "rgb": {
    "r": 126,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 241.395,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6256,
    "c": 0.1277,
    "h": 283.1
  },
  "luminance": 0.23504
}

Semantic roles & 50–950 ramp

primary
#7E7CD2
secondary
#E3E3C6
accent
#BC29B9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #7E7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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