#7E9CE7#7E9CE7

#7E9CE7 is a light, moderate blue. Relative luminance 0.340; OKLCH L 70.1% C 0.116 H 266.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7E9CE7
RGBrgb(126, 156, 231)
HSLhsl(223, 69%, 70%)
HSVhsv(223, 45%, 91%)
CMYKcmyk(45.5%, 32.5%, 0%, 9.4%)
CIE-LABlab(64.95, 9.17, -41.14)
CIE-LCHlch(64.95, 42.15, 282.57°)
OKLaboklab(70.09% -0.0064 -0.1155)
OKLCHoklch(70.09% 0.116 266.8)
XYZxyz(34.9118, 33.9800, 80.3050)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9CE7 #E7C97E
analogous
#7ED1E7 #7E9CE7 #947EE7
triadic
#7E9CE7 #E77E9C #9CE77E
tetradic
#7E9CE7 #E77ED1 #E7C97E #7EE794
square
#7E9CE7 #E77ED1 #E7C97E #7EE794
split-complementary
#7E9CE7 #E7947E #D1E77E
monochromatic
#2553C6 #4A74DD #7E9CE7 #B2C4F1 #E5EBFA

Accessibility & contrast

On white

2.69
#7E9CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#7E9CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E9CE7
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9CE7#FFFFFF#000000##000000
##7E9CE71.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A3EA
Deuteranopia (green-blind)
#7699E5
Tritanopia (blue-blind)
#56ACB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7e9ce7;
/* rgb */ color: rgb(126, 156, 231);
/* oklch */ color: oklch(70.1% 0.116 266.8);
Tailwind
colors: {
  custom: {
    50: '#a8b9ef',
    500: '#7e9ce7',
    950: '#000000',
  },
}
SCSS
$custom: #7e9ce7;
$custom-light: #a8b9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9ce7",
  "rgb": {
    "r": 126,
    "g": 156,
    "b": 231
  },
  "hsl": {
    "h": 222.857,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.7009,
    "c": 0.11567,
    "h": 266.8
  },
  "luminance": 0.33982
}

Semantic roles & 50–950 ramp

primary
#7E9CE7
secondary
#EFE7D2
accent
#9B15D1
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7E9CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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