#7D7AEB#7D7AEB

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

Color values

HEX#7D7AEB
RGBrgb(125, 122, 235)
HSLhsl(242, 74%, 70%)
HSVhsv(242, 48%, 92%)
CMYKcmyk(46.8%, 48.1%, 0%, 7.8%)
CIE-LABlab(56.36, 30.06, -56.95)
CIE-LCHlch(56.36, 64.40, 297.83°)
OKLaboklab(63.57% 0.0338 -0.1619)
OKLCHoklch(63.57% 0.165 281.8)
XYZxyz(30.4079, 24.2757, 81.6646)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7AEB #E8EB7A
analogous
#7AAFEB #7D7AEB #B67AEB
triadic
#7D7AEB #EB7D7A #7AEB7D
tetradic
#7D7AEB #EB7AAF #E8EB7A #7AEBB6
square
#7D7AEB #EB7AAF #E8EB7A #7AEBB6
split-complementary
#7D7AEB #EBB67A #AFEB7A
monochromatic
#231FCC #4945E3 #7D7AEB #B1AFF3 #E5E4FB

Accessibility & contrast

On white

3.59
#7D7AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7D7AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7AEB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7AEB#FFFFFF#000000##000000
##7D7AEB1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEF
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#5692A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7d7aeb;
/* rgb */ color: rgb(125, 122, 235);
/* oklch */ color: oklch(63.6% 0.165 281.8);
Tailwind
colors: {
  custom: {
    50: '#a9a0f2',
    500: '#7d7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #7d7aeb;
$custom-light: #a9a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7aeb",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 241.593,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.63568,
    "c": 0.16537,
    "h": 281.8
  },
  "luminance": 0.24277
}

Semantic roles & 50–950 ramp

primary
#7D7AEB
secondary
#EFF0D1
accent
#D610D1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7D7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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