#7E95F2#7E95F2

#7E95F2 is a light, vivid blue. Relative luminance 0.323; OKLCH L 69.2% C 0.139 H 271.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7E95F2
RGBrgb(126, 149, 242)
HSLhsl(228, 82%, 72%)
HSVhsv(228, 48%, 95%)
CMYKcmyk(47.9%, 38.4%, 0%, 5.1%)
CIE-LABlab(63.62, 16.45, -49.27)
CIE-LCHlch(63.62, 51.95, 288.47°)
OKLaboklab(69.24% 0.0045 -0.1392)
OKLCHoklch(69.24% 0.139 271.8)
XYZxyz(35.3736, 32.3392, 88.3653)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E95F2 #F2DB7E
analogous
#7ECFF2 #7E95F2 #A17EF2
triadic
#7E95F2 #F27E95 #95F27E
tetradic
#7E95F2 #F27ECF #F2DB7E #7EF2A1
square
#7E95F2 #F27ECF #F2DB7E #7EF2A1
split-complementary
#7E95F2 #F2A17E #CFF27E
monochromatic
#163EDF #4667EC #7E95F2 #B6C3F8 #E3E8FC

Accessibility & contrast

On white

2.81
#7E95F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#7E95F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E95F2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E95F2#FFFFFF#000000##000000
##7E95F21.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#6695F0
Tritanopia (blue-blind)
#50A9B8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7e95f2;
/* rgb */ color: rgb(126, 149, 242);
/* oklch */ color: oklch(69.2% 0.139 271.8);
Tailwind
colors: {
  custom: {
    50: '#a9b3f7',
    500: '#7e95f2',
    950: '#000000',
  },
}
SCSS
$custom: #7e95f2;
$custom-light: #a9b3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e95f2",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 242
  },
  "hsl": {
    "h": 228.103,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69236,
    "c": 0.13927,
    "h": 271.8
  },
  "luminance": 0.32341
}

Semantic roles & 50–950 ramp

primary
#7E95F2
secondary
#F4EED7
accent
#B407DE
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7E95F2

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

Preview Lab → · Contrast checker → · Palette generator →

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