#7A7DFD#7A7DFD

#7A7DFD is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.0% C 0.186 H 278.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7A7DFD
RGBrgb(122, 125, 253)
HSLhsl(239, 97%, 74%)
HSVhsv(239, 52%, 99%)
CMYKcmyk(51.8%, 50.6%, 0%, 0.8%)
CIE-LABlab(57.94, 33.03, -64.41)
CIE-LCHlch(57.94, 72.38, 297.15°)
OKLaboklab(65.04% 0.0287 -0.1838)
OKLCHoklch(65.04% 0.186 278.9)
XYZxyz(33.0837, 25.8946, 96.1643)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7DFD #FDFA7A
analogous
#7ABEFD #7A7DFD #B87AFD
triadic
#7A7DFD #FD7A7D #7DFD7A
tetradic
#7A7DFD #FD7ABE #FDFA7A #7AFDB8
square
#7A7DFD #FD7ABE #FDFA7A #7AFDB8
split-complementary
#7A7DFD #FDB87A #BEFD7A
monochromatic
#0409F9 #3E42FC #7A7DFD #B6B8FE #E1E2FF

Accessibility & contrast

On white

3.40
#7A7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#7A7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7DFD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7DFD#FFFFFF#000000##000000
##7A7DFD1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B90FF
Deuteranopia (green-blind)
#2B86FA
Tritanopia (blue-blind)
#4199B1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a7dfd;
/* rgb */ color: rgb(122, 125, 253);
/* oklch */ color: oklch(65.0% 0.186 278.9);
Tailwind
colors: {
  custom: {
    50: '#a9a2ff',
    500: '#7a7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7a7dfd;
$custom-light: #a9a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7dfd",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 238.626,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.65039,
    "c": 0.18607,
    "h": 278.9
  },
  "luminance": 0.25897
}

Semantic roles & 50–950 ramp

primary
#7A7DFD
secondary
#F7F6D4
accent
#E000E6
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7A7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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