#7D7AEF#7D7AEF

#7D7AEF is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.8% C 0.171 H 281.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7D7AEF
RGBrgb(125, 122, 239)
HSLhsl(242, 79%, 71%)
HSVhsv(242, 49%, 94%)
CMYKcmyk(47.7%, 49%, 0%, 6.3%)
CIE-LABlab(56.59, 31.24, -58.81)
CIE-LCHlch(56.59, 66.59, 297.98°)
OKLaboklab(63.82% 0.0342 -0.1673)
OKLCHoklch(63.82% 0.171 281.6)
XYZxyz(30.9923, 24.5094, 84.7424)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7AEF #ECEF7A
analogous
#7AB2EF #7D7AEF #B77AEF
triadic
#7D7AEF #EF7D7A #7AEF7D
tetradic
#7D7AEF #EF7AB2 #ECEF7A #7AEFB7
square
#7D7AEF #EF7AB2 #ECEF7A #7AEFB7
split-complementary
#7D7AEF #EFB77A #B2EF7A
monochromatic
#1E1AD5 #4843E8 #7D7AEF #B2B1F6 #E4E4FC

Accessibility & contrast

On white

3.56
#7D7AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#7D7AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7AEF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7AEF#FFFFFF#000000##000000
##7D7AEF1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF3
Deuteranopia (green-blind)
#3D84EC
Tritanopia (blue-blind)
#5493A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7d7aef;
/* rgb */ color: rgb(125, 122, 239);
/* oklch */ color: oklch(63.8% 0.171 281.6);
Tailwind
colors: {
  custom: {
    50: '#a9a0f5',
    500: '#7d7aef',
    950: '#000000',
  },
}
SCSS
$custom: #7d7aef;
$custom-light: #a9a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7aef",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 241.538,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63817,
    "c": 0.17078,
    "h": 281.6
  },
  "luminance": 0.24511
}

Semantic roles & 50–950 ramp

primary
#7D7AEF
secondary
#F1F2D3
accent
#DB0BD5
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7D7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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