#7D79CD#7D79CD

#7D79CD is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.125 H 284.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7D79CD
RGBrgb(125, 121, 205)
HSLhsl(243, 46%, 64%)
HSVhsv(243, 41%, 80%)
CMYKcmyk(39%, 41%, 0%, 19.6%)
CIE-LABlab(54.49, 22.02, -43.06)
CIE-LCHlch(54.49, 48.36, 297.08°)
OKLaboklab(61.62% 0.0308 -0.1212)
OKLCHoklch(61.62% 0.125 284.3)
XYZxyz(26.3111, 22.4416, 60.6911)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D79CD #C9CD79
analogous
#799FCD #7D79CD #A779CD
triadic
#7D79CD #CD7D79 #79CD7D
tetradic
#7D79CD #CD799F #C9CD79 #79CDA7
square
#7D79CD #CD799F #C9CD79 #79CDA7
split-complementary
#7D79CD #CDA779 #9FCD79
monochromatic
#3C3794 #524CBC #7D79CD #A8A6DE #D3D2EE

Accessibility & contrast

On white

3.83
#7D79CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7D79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D79CD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D79CD#FFFFFF#000000##000000
##7D79CD1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#5980CB
Tritanopia (blue-blind)
#668999
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d79cd;
/* rgb */ color: rgb(125, 121, 205);
/* oklch */ color: oklch(61.6% 0.125 284.3);
Tailwind
colors: {
  custom: {
    50: '#a69fdc',
    500: '#7d79cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d79cd;
$custom-light: #a69fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d79cd",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 242.857,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61624,
    "c": 0.12506,
    "h": 284.3
  },
  "luminance": 0.22442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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