#7E7CF5#7E7CF5

#7E7CF5 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.6% C 0.176 H 281.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7E7CF5
RGBrgb(126, 124, 245)
HSLhsl(241, 86%, 72%)
HSVhsv(241, 49%, 96%)
CMYKcmyk(48.6%, 49.4%, 0%, 3.9%)
CIE-LABlab(57.50, 32.05, -60.67)
CIE-LCHlch(57.50, 68.62, 297.85°)
OKLaboklab(64.63% 0.0337 -0.1728)
OKLCHoklch(64.63% 0.176 281)
XYZxyz(32.2883, 25.4418, 89.5779)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7CF5 #F3F57C
analogous
#7CB6F5 #7E7CF5 #BB7CF5
triadic
#7E7CF5 #F57E7C #7CF57E
tetradic
#7E7CF5 #F57CB6 #F3F57C #7CF5BB
square
#7E7CF5 #F57CB6 #F3F57C #7CF5BB
split-complementary
#7E7CF5 #F5BB7C #B6F57C
monochromatic
#1511E5 #4643F1 #7E7CF5 #B6B5F9 #E3E3FD

Accessibility & contrast

On white

3.45
#7E7CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#7E7CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7CF5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7CF5#FFFFFF#000000##000000
##7E7CF51.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FF9
Deuteranopia (green-blind)
#3A86F2
Tritanopia (blue-blind)
#5196AD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e7cf5;
/* rgb */ color: rgb(126, 124, 245);
/* oklch */ color: oklch(64.6% 0.176 281.0);
Tailwind
colors: {
  custom: {
    50: '#aaa2f9',
    500: '#7e7cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7e7cf5;
$custom-light: #aaa2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7cf5",
  "rgb": {
    "r": 126,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 240.992,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.64632,
    "c": 0.17601,
    "h": 281
  },
  "luminance": 0.25443
}

Semantic roles & 50–950 ramp

primary
#7E7CF5
secondary
#F4F5D6
accent
#E203DF
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #7E7CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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