#7B79D2#7B79D2

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

Color values

HEX#7B79D2
RGBrgb(123, 121, 210)
HSLhsl(241, 50%, 65%)
HSVhsv(241, 42%, 82%)
CMYKcmyk(41.4%, 42.4%, 0%, 17.6%)
CIE-LABlab(54.59, 22.92, -45.74)
CIE-LCHlch(54.59, 51.16, 296.61°)
OKLaboklab(61.75% 0.0294 -0.1291)
OKLCHoklch(61.75% 0.132 282.8)
XYZxyz(26.6352, 22.5378, 63.9071)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B79D2 #D0D279
analogous
#79A4D2 #7B79D2 #A779D2
triadic
#7B79D2 #D27B79 #79D27B
tetradic
#7B79D2 #D279A4 #D0D279 #79D2A7
square
#7B79D2 #D279A4 #D0D279 #79D2A7
split-complementary
#7B79D2 #D2A779 #A4D279
monochromatic
#37349C #4E4BC3 #7B79D2 #A8A7E1 #D5D5F1

Accessibility & contrast

On white

3.81
#7B79D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7B79D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B79D2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B79D2#FFFFFF#000000##000000
##7B79D21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5986D5
Deuteranopia (green-blind)
#5580D0
Tritanopia (blue-blind)
#618B9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b79d2;
/* rgb */ color: rgb(123, 121, 210);
/* oklch */ color: oklch(61.7% 0.132 282.8);
Tailwind
colors: {
  custom: {
    50: '#a59fe0',
    500: '#7b79d2',
    950: '#000000',
  },
}
SCSS
$custom: #7b79d2;
$custom-light: #a59fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b79d2",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 241.348,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61746,
    "c": 0.13238,
    "h": 282.8
  },
  "luminance": 0.22539
}

Semantic roles & 50–950 ramp

primary
#7B79D2
secondary
#E2E3C4
accent
#BD28BA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7B79D2

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

Preview Lab → · Contrast checker → · Palette generator →

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