#7E79CA#7E79CA

#7E79CA is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.5% C 0.121 H 285.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7E79CA
RGBrgb(126, 121, 202)
HSLhsl(244, 43%, 63%)
HSVhsv(244, 40%, 79%)
CMYKcmyk(37.6%, 40.1%, 0%, 20.8%)
CIE-LABlab(54.42, 21.45, -41.46)
CIE-LCHlch(54.42, 46.68, 297.35°)
OKLaboklab(61.54% 0.0314 -0.1165)
OKLCHoklch(61.54% 0.121 285.1)
XYZxyz(26.0993, 22.3738, 58.8091)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E79CA #C5CA79
analogous
#799CCA #7E79CA #A679CA
triadic
#7E79CA #CA7E79 #79CA7E
tetradic
#7E79CA #CA799C #C5CA79 #79CAA6
square
#7E79CA #CA799C #C5CA79 #79CAA6
split-complementary
#7E79CA #CAA679 #9CCA79
monochromatic
#3E3990 #544DB9 #7E79CA #A8A5DB #D2D1ED

Accessibility & contrast

On white

3.84
#7E79CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7E79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E79CA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E79CA#FFFFFF#000000##000000
##7E79CA1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CD
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#698998
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e79ca;
/* rgb */ color: rgb(126, 121, 202);
/* oklch */ color: oklch(61.5% 0.121 285.1);
Tailwind
colors: {
  custom: {
    50: '#a69fda',
    500: '#7e79ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e79ca;
$custom-light: #a69fda;
$custom-dark: #000000;
JSON
{
  "hex": "#7e79ca",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 243.704,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61541,
    "c": 0.12069,
    "h": 285.1
  },
  "luminance": 0.22375
}

Semantic roles & 50–950 ramp

primary
#7E79CA
secondary
#DCDEC1
accent
#B62FAE
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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