#7D7AEC#7D7AEC

#7D7AEC is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.6% C 0.167 H 281.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7D7AEC
RGBrgb(125, 122, 236)
HSLhsl(242, 75%, 70%)
HSVhsv(242, 48%, 93%)
CMYKcmyk(47%, 48.3%, 0%, 7.5%)
CIE-LABlab(56.42, 30.35, -57.42)
CIE-LCHlch(56.42, 64.95, 297.86°)
OKLaboklab(63.63% 0.034 -0.1632)
OKLCHoklch(63.63% 0.167 281.7)
XYZxyz(30.5528, 24.3336, 82.4276)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7AEC #E9EC7A
analogous
#7AB0EC #7D7AEC #B67AEC
triadic
#7D7AEC #EC7D7A #7AEC7D
tetradic
#7D7AEC #EC7AB0 #E9EC7A #7AECB6
square
#7D7AEC #EC7AB0 #E9EC7A #7AECB6
split-complementary
#7D7AEC #ECB67A #B0EC7A
monochromatic
#221DCE #4944E4 #7D7AEC #B1B0F4 #E5E4FB

Accessibility & contrast

On white

3.58
#7D7AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7D7AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7AEC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7AEC#FFFFFF#000000##000000
##7D7AEC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BF0
Deuteranopia (green-blind)
#4083E9
Tritanopia (blue-blind)
#5692A8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7d7aec;
/* rgb */ color: rgb(125, 122, 236);
/* oklch */ color: oklch(63.6% 0.167 281.7);
Tailwind
colors: {
  custom: {
    50: '#a9a0f3',
    500: '#7d7aec',
    950: '#000000',
  },
}
SCSS
$custom: #7d7aec;
$custom-light: #a9a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7aec",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 241.579,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6363,
    "c": 0.16672,
    "h": 281.7
  },
  "luminance": 0.24335
}

Semantic roles & 50–950 ramp

primary
#7D7AEC
secondary
#F0F1D1
accent
#D70ED2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7D7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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