#7D7DFD#7D7DFD

#7D7DFD is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.3% C 0.186 H 279.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7D7DFD
RGBrgb(125, 125, 253)
HSLhsl(240, 97%, 74%)
HSVhsv(240, 51%, 99%)
CMYKcmyk(50.6%, 50.6%, 0%, 0.8%)
CIE-LABlab(58.15, 33.64, -64.06)
CIE-LCHlch(58.15, 72.35, 297.70°)
OKLaboklab(65.25% 0.0321 -0.1827)
OKLCHoklch(65.25% 0.186 279.9)
XYZxyz(33.5152, 26.1171, 96.1845)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7DFD #FDFD7D
analogous
#7DBDFD #7D7DFD #BD7DFD
triadic
#7D7DFD #FD7D7D #7DFD7D
tetradic
#7D7DFD #FD7DBD #FDFD7D #7DFDBD
square
#7D7DFD #FD7DBD #FDFD7D #7DFDBD
split-complementary
#7D7DFD #FDBD7D #BDFD7D
monochromatic
#0404FB #4141FC #7D7DFD #B9B9FE #E1E1FF

Accessibility & contrast

On white

3.37
#7D7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7D7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7DFD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7DFD#FFFFFF#000000##000000
##7D7DFD1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C91FF
Deuteranopia (green-blind)
#2F87FA
Tritanopia (blue-blind)
#4999B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7d7dfd;
/* rgb */ color: rgb(125, 125, 253);
/* oklch */ color: oklch(65.3% 0.186 279.9);
Tailwind
colors: {
  custom: {
    50: '#aba2ff',
    500: '#7d7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7d7dfd;
$custom-light: #aba2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7dfd",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 240,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.65252,
    "c": 0.18553,
    "h": 279.9
  },
  "luminance": 0.26119
}

Semantic roles & 50–950 ramp

primary
#7D7DFD
secondary
#F7F7D4
accent
#E600E5
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7D7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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