#7E95DC#7E95DC

#7E95DC is a light, moderate blue. Relative luminance 0.311; OKLCH L 68.1% C 0.109 H 269.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7E95DC
RGBrgb(126, 149, 220)
HSLhsl(225, 57%, 68%)
HSVhsv(225, 43%, 86%)
CMYKcmyk(42.7%, 32.3%, 0%, 13.7%)
CIE-LABlab(62.59, 10.05, -38.74)
CIE-LCHlch(62.59, 40.03, 284.54°)
OKLaboklab(68.1% -0.0006 -0.1086)
OKLCHoklch(68.1% 0.109 269.7)
XYZxyz(32.2659, 31.0961, 71.9983)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E95DC #DCC57E
analogous
#7EC4DC #7E95DC #967EDC
triadic
#7E95DC #DC7E95 #95DC7E
tetradic
#7E95DC #DC7EC4 #DCC57E #7EDC96
square
#7E95DC #DC7EC4 #DCC57E #7EDC96
split-complementary
#7E95DC #DC967E #C4DC7E
monochromatic
#304FB0 #4E6DCF #7E95DC #AEBDE9 #DEE4F6

Accessibility & contrast

On white

2.91
#7E95DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#7E95DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E95DC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E95DC#FFFFFF#000000##000000
##7E95DC1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9CDF
Deuteranopia (green-blind)
#7394DA
Tritanopia (blue-blind)
#5EA4AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7e95dc;
/* rgb */ color: rgb(126, 149, 220);
/* oklch */ color: oklch(68.1% 0.109 269.7);
Tailwind
colors: {
  custom: {
    50: '#a7b3e7',
    500: '#7e95dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e95dc;
$custom-light: #a7b3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e95dc",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 220
  },
  "hsl": {
    "h": 225.319,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.681,
    "c": 0.10858,
    "h": 269.7
  },
  "luminance": 0.31098
}

Semantic roles & 50–950 ramp

primary
#7E95DC
secondary
#E9E2CC
accent
#9D21C5
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7E95DC

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

Preview Lab → · Contrast checker → · Palette generator →

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