#7E79DF#7E79DF

#7E79DF is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.7% C 0.150 H 283.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7E79DF
RGBrgb(126, 121, 223)
HSLhsl(243, 61%, 67%)
HSVhsv(243, 46%, 87%)
CMYKcmyk(43.5%, 45.7%, 0%, 12.5%)
CIE-LABlab(55.52, 27.39, -51.58)
CIE-LCHlch(55.52, 58.40, 297.97°)
OKLaboklab(62.73% 0.0348 -0.1461)
OKLCHoklch(62.73% 0.15 283.4)
XYZxyz(28.7569, 23.4368, 72.8063)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E79DF #DADF79
analogous
#79A7DF #7E79DF #B179DF
triadic
#7E79DF #DF7E79 #79DF7E
tetradic
#7E79DF #DF79A7 #DADF79 #79DFB1
square
#7E79DF #DF79A7 #DADF79 #79DFB1
split-complementary
#7E79DF #DFB179 #A7DF79
monochromatic
#312BB3 #4E48D3 #7E79DF #AEAAEB #DDDCF7

Accessibility & contrast

On white

3.69
#7E79DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#7E79DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E79DF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E79DF#FFFFFF#000000##000000
##7E79DF1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5188E3
Deuteranopia (green-blind)
#4C82DD
Tritanopia (blue-blind)
#5F8EA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e79df;
/* rgb */ color: rgb(126, 121, 223);
/* oklch */ color: oklch(62.7% 0.150 283.4);
Tailwind
colors: {
  custom: {
    50: '#a89fe9',
    500: '#7e79df',
    950: '#000000',
  },
}
SCSS
$custom: #7e79df;
$custom-light: #a89fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e79df",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 242.941,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62732,
    "c": 0.15019,
    "h": 283.4
  },
  "luminance": 0.23438
}

Semantic roles & 50–950 ramp

primary
#7E79DF
secondary
#E8EACA
accent
#C91CC1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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