#7D7DF2#7D7DF2

#7D7DF2 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.6% C 0.171 H 280.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7D7DF2
RGBrgb(125, 125, 242)
HSLhsl(240, 82%, 72%)
HSVhsv(240, 48%, 95%)
CMYKcmyk(48.3%, 48.3%, 0%, 5.1%)
CIE-LABlab(57.50, 30.36, -59.02)
CIE-LCHlch(57.50, 66.37, 297.22°)
OKLaboklab(64.55% 0.0311 -0.1679)
OKLCHoklch(64.55% 0.171 280.5)
XYZxyz(31.8132, 25.4363, 87.2206)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7DF2 #F2F27D
analogous
#7DB8F2 #7D7DF2 #B87DF2
triadic
#7D7DF2 #F27D7D #7DF27D
tetradic
#7D7DF2 #F27DB8 #F2F27D #7DF2B8
square
#7D7DF2 #F27DB8 #F2F27D #7DF2B8
split-complementary
#7D7DF2 #F2B87D #B8F27D
monochromatic
#1616DE #4545EC #7D7DF2 #B5B5F8 #E3E3FC

Accessibility & contrast

On white

3.45
#7D7DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#7D7DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7DF2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7DF2#FFFFFF#000000##000000
##7D7DF21.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF6
Deuteranopia (green-blind)
#3F86EF
Tritanopia (blue-blind)
#5196AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7d7df2;
/* rgb */ color: rgb(125, 125, 242);
/* oklch */ color: oklch(64.6% 0.171 280.5);
Tailwind
colors: {
  custom: {
    50: '#a9a2f7',
    500: '#7d7df2',
    950: '#000000',
  },
}
SCSS
$custom: #7d7df2;
$custom-light: #a9a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7df2",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 240,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64554,
    "c": 0.1708,
    "h": 280.5
  },
  "luminance": 0.25438
}

Semantic roles & 50–950 ramp

primary
#7D7DF2
secondary
#F4F4D7
accent
#DE07DE
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7D7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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