#7F79BC#7F79BC

#7F79BC is a mid, moderate blue. Relative luminance 0.218; OKLCH L 60.9% C 0.100 H 287.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7F79BC
RGBrgb(127, 121, 188)
HSLhsl(245, 33%, 61%)
HSVhsv(245, 36%, 74%)
CMYKcmyk(32.4%, 35.6%, 0%, 26.3%)
CIE-LABlab(53.83, 17.92, -34.39)
CIE-LCHlch(53.83, 38.78, 297.52°)
OKLaboklab(60.89% 0.0296 -0.096)
OKLCHoklch(60.89% 0.1 287.1)
XYZxyz(24.6645, 21.8170, 50.4788)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F79BC #B6BC79
analogous
#7994BC #7F79BC #A079BC
triadic
#7F79BC #BC7F79 #79BC7F
tetradic
#7F79BC #BC7994 #B6BC79 #79BCA0
square
#7F79BC #BC7994 #B6BC79 #79BCA0
split-complementary
#7F79BC #BCA079 #94BC79
monochromatic
#443E7C #5A53A5 #7F79BC #A6A2D0 #CDCBE5

Accessibility & contrast

On white

3.92
#7F79BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7F79BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F79BC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F79BC#FFFFFF#000000##000000
##7F79BC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BF
Deuteranopia (green-blind)
#647FBA
Tritanopia (blue-blind)
#708592
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f79bc;
/* rgb */ color: rgb(127, 121, 188);
/* oklch */ color: oklch(60.9% 0.100 287.1);
Tailwind
colors: {
  custom: {
    50: '#a69fd0',
    500: '#7f79bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f79bc;
$custom-light: #a69fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f79bc",
  "rgb": {
    "r": 127,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 245.373,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60891,
    "c": 0.10045,
    "h": 287.1
  },
  "luminance": 0.21818
}

Semantic roles & 50–950 ramp

primary
#7F79BC
secondary
#D3D5BC
accent
#AC39A2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7F79BC

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

Preview Lab → · Contrast checker → · Palette generator →

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