#7D7AF5#7D7AF5

#7D7AF5 is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.2% C 0.179 H 281.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7D7AF5
RGBrgb(125, 122, 245)
HSLhsl(241, 86%, 72%)
HSVhsv(241, 50%, 96%)
CMYKcmyk(49%, 50.2%, 0%, 3.9%)
CIE-LABlab(56.95, 33.02, -61.57)
CIE-LCHlch(56.95, 69.86, 298.20°)
OKLaboklab(64.2% 0.0347 -0.1754)
OKLCHoklch(64.2% 0.179 281.2)
XYZxyz(31.8934, 24.8699, 89.4883)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7AF5 #F2F57A
analogous
#7AB5F5 #7D7AF5 #BA7AF5
triadic
#7D7AF5 #F57D7A #7AF57D
tetradic
#7D7AF5 #F57AB5 #F2F57A #7AF5BA
square
#7D7AF5 #F57AB5 #F2F57A #7AF5BA
split-complementary
#7D7AF5 #F5BA7A #B5F57A
monochromatic
#1611E3 #4541F1 #7D7AF5 #B5B3F9 #E3E3FD

Accessibility & contrast

On white

3.51
#7D7AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#7D7AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7AF5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7AF5#FFFFFF#000000##000000
##7D7AF51.003.515.975.97
#FFFFFF3.511.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8DF9
Deuteranopia (green-blind)
#3484F2
Tritanopia (blue-blind)
#5095AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7d7af5;
/* rgb */ color: rgb(125, 122, 245);
/* oklch */ color: oklch(64.2% 0.179 281.2);
Tailwind
colors: {
  custom: {
    50: '#aaa0f9',
    500: '#7d7af5',
    950: '#000000',
  },
}
SCSS
$custom: #7d7af5;
$custom-light: #aaa0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7af5",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 241.463,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64197,
    "c": 0.17884,
    "h": 281.2
  },
  "luminance": 0.24872
}

Semantic roles & 50–950 ramp

primary
#7D7AF5
secondary
#F4F5D6
accent
#E303DD
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7D7AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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