#7D7DEB#7D7DEB

#7D7DEB is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.1% C 0.161 H 280.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7D7DEB
RGBrgb(125, 125, 235)
HSLhsl(240, 73%, 71%)
HSVhsv(240, 47%, 92%)
CMYKcmyk(46.8%, 46.8%, 0%, 7.8%)
CIE-LABlab(57.10, 28.28, -55.77)
CIE-LCHlch(57.10, 62.54, 296.89°)
OKLaboklab(64.12% 0.0304 -0.1584)
OKLCHoklch(64.12% 0.161 280.8)
XYZxyz(30.7819, 25.0238, 81.7893)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7DEB #EBEB7D
analogous
#7DB4EB #7D7DEB #B47DEB
triadic
#7D7DEB #EB7D7D #7DEB7D
tetradic
#7D7DEB #EB7DB4 #EBEB7D #7DEBB4
square
#7D7DEB #EB7DB4 #EBEB7D #7DEBB4
split-complementary
#7D7DEB #EBB47D #B4EB7D
monochromatic
#2020CE #4848E3 #7D7DEB #B2B2F3 #E4E4FB

Accessibility & contrast

On white

3.50
#7D7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#7D7DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7DEB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7DEB#FFFFFF#000000##000000
##7D7DEB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#5694A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7d7deb;
/* rgb */ color: rgb(125, 125, 235);
/* oklch */ color: oklch(64.1% 0.161 280.8);
Tailwind
colors: {
  custom: {
    50: '#a9a2f2',
    500: '#7d7deb',
    950: '#000000',
  },
}
SCSS
$custom: #7d7deb;
$custom-light: #a9a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7deb",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64123,
    "c": 0.16128,
    "h": 280.8
  },
  "luminance": 0.25025
}

Semantic roles & 50–950 ramp

primary
#7D7DEB
secondary
#F1F1D3
accent
#D510D5
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7D7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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