#7F79CD#7F79CD

#7F79CD is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.8% C 0.125 H 285.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7F79CD
RGBrgb(127, 121, 205)
HSLhsl(244, 46%, 64%)
HSVhsv(244, 41%, 80%)
CMYKcmyk(38%, 41%, 0%, 19.6%)
CIE-LABlab(54.65, 22.55, -42.80)
CIE-LCHlch(54.65, 48.37, 297.78°)
OKLaboklab(61.79% 0.0331 -0.1204)
OKLCHoklch(61.79% 0.125 285.4)
XYZxyz(26.6061, 22.5937, 60.7049)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F79CD #C7CD79
analogous
#799DCD #7F79CD #A979CD
triadic
#7F79CD #CD7F79 #79CD7F
tetradic
#7F79CD #CD799D #C7CD79 #79CDA9
square
#7F79CD #CD799D #C7CD79 #79CDA9
split-complementary
#7F79CD #CDA979 #9DCD79
monochromatic
#3E3794 #544CBC #7F79CD #AAA6DE #D4D2EE

Accessibility & contrast

On white

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

On black

5.52
#7F79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F79CD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F79CD#FFFFFF#000000##000000
##7F79CD1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f79cd;
/* rgb */ color: rgb(127, 121, 205);
/* oklch */ color: oklch(61.8% 0.125 285.4);
Tailwind
colors: {
  custom: {
    50: '#a79fdc',
    500: '#7f79cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f79cd;
$custom-light: #a79fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f79cd",
  "rgb": {
    "r": 127,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 244.286,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61785,
    "c": 0.12487,
    "h": 285.4
  },
  "luminance": 0.22595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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