#7A7DF2#7A7DF2

#7A7DF2 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.3% C 0.171 H 279.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7A7DF2
RGBrgb(122, 125, 242)
HSLhsl(239, 82%, 71%)
HSVhsv(239, 50%, 95%)
CMYKcmyk(49.6%, 48.3%, 0%, 5.1%)
CIE-LABlab(57.28, 29.70, -59.38)
CIE-LCHlch(57.28, 66.40, 296.58°)
OKLaboklab(64.34% 0.0277 -0.1691)
OKLCHoklch(64.34% 0.171 279.3)
XYZxyz(31.3817, 25.2138, 87.2003)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7DF2 #F2EF7A
analogous
#7AB9F2 #7A7DF2 #B37AF2
triadic
#7A7DF2 #F27A7D #7DF27A
tetradic
#7A7DF2 #F27AB9 #F2EF7A #7AF2B3
square
#7A7DF2 #F27AB9 #F2EF7A #7AF2B3
split-complementary
#7A7DF2 #F2B37A #B9F27A
monochromatic
#161ADC #4247ED #7A7DF2 #B2B3F7 #E3E4FC

Accessibility & contrast

On white

3.47
#7A7DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#7A7DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7DF2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7DF2#FFFFFF#000000##000000
##7A7DF21.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#4B96AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7a7df2;
/* rgb */ color: rgb(122, 125, 242);
/* oklch */ color: oklch(64.3% 0.171 279.3);
Tailwind
colors: {
  custom: {
    50: '#a8a2f7',
    500: '#7a7df2',
    950: '#000000',
  },
}
SCSS
$custom: #7a7df2;
$custom-light: #a8a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7df2",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 238.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64337,
    "c": 0.17132,
    "h": 279.3
  },
  "luminance": 0.25216
}

Semantic roles & 50–950 ramp

primary
#7A7DF2
secondary
#F3F3D4
accent
#D907DF
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7A7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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