#7D79CF#7D79CF

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

Color values

HEX#7D79CF
RGBrgb(125, 121, 207)
HSLhsl(243, 47%, 64%)
HSVhsv(243, 42%, 81%)
CMYKcmyk(39.6%, 41.5%, 0%, 18.8%)
CIE-LABlab(54.59, 22.58, -44.03)
CIE-LCHlch(54.59, 49.48, 297.15°)
OKLaboklab(61.73% 0.0312 -0.124)
OKLCHoklch(61.73% 0.128 284.1)
XYZxyz(26.5541, 22.5387, 61.9707)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D79CF #CBCF79
analogous
#79A0CF #7D79CF #A879CF
triadic
#7D79CF #CF7D79 #79CF7D
tetradic
#7D79CF #CF79A0 #CBCF79 #79CFA8
square
#7D79CF #CF79A0 #CBCF79 #79CFA8
split-complementary
#7D79CF #CFA879 #A0CF79
monochromatic
#3B3697 #514CBF #7D79CF #A9A6DF #D4D3EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D79CF#FFFFFF#000000##000000
##7D79CF1.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)
#5B85D2
Deuteranopia (green-blind)
#5880CD
Tritanopia (blue-blind)
#658A9A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d79cf;
/* rgb */ color: rgb(125, 121, 207);
/* oklch */ color: oklch(61.7% 0.128 284.1);
Tailwind
colors: {
  custom: {
    50: '#a69fde',
    500: '#7d79cf',
    950: '#000000',
  },
}
SCSS
$custom: #7d79cf;
$custom-light: #a69fde;
$custom-dark: #000000;
JSON
{
  "hex": "#7d79cf",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 242.791,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61735,
    "c": 0.1279,
    "h": 284.1
  },
  "luminance": 0.2254
}

Semantic roles & 50–950 ramp

primary
#7D79CF
secondary
#DFE1C3
accent
#BB2BB4
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7D79CF

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

Preview Lab → · Contrast checker → · Palette generator →

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