#7E79CD#7E79CD

#7E79CD is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.7% C 0.125 H 284.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7E79CD
RGBrgb(126, 121, 205)
HSLhsl(244, 46%, 64%)
HSVhsv(244, 41%, 80%)
CMYKcmyk(38.5%, 41%, 0%, 19.6%)
CIE-LABlab(54.57, 22.28, -42.93)
CIE-LCHlch(54.57, 48.37, 297.43°)
OKLaboklab(61.7% 0.032 -0.1208)
OKLCHoklch(61.7% 0.125 284.8)
XYZxyz(26.4579, 22.5172, 60.6980)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E79CD #C8CD79
analogous
#799ECD #7E79CD #A879CD
triadic
#7E79CD #CD7E79 #79CD7E
tetradic
#7E79CD #CD799E #C8CD79 #79CDA8
square
#7E79CD #CD799E #C8CD79 #79CDA8
split-complementary
#7E79CD #CDA879 #9ECD79
monochromatic
#3D3794 #534CBC #7E79CD #A9A6DE #D4D2EE

Accessibility & contrast

On white

3.82
#7E79CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7E79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E79CD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E79CD#FFFFFF#000000##000000
##7E79CD1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#688999
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e79cd;
/* rgb */ color: rgb(126, 121, 205);
/* oklch */ color: oklch(61.7% 0.125 284.8);
Tailwind
colors: {
  custom: {
    50: '#a69fdc',
    500: '#7e79cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e79cd;
$custom-light: #a69fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e79cd",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 243.571,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.12496,
    "h": 284.8
  },
  "luminance": 0.22518
}

Semantic roles & 50–950 ramp

primary
#7E79CD
secondary
#DEE0C2
accent
#B92DB1
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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