#7A7DEB#7A7DEB

#7A7DEB is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.9% C 0.162 H 279.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7A7DEB
RGBrgb(122, 125, 235)
HSLhsl(238, 74%, 70%)
HSVhsv(238, 48%, 92%)
CMYKcmyk(48.1%, 46.8%, 0%, 7.8%)
CIE-LABlab(56.88, 27.61, -56.13)
CIE-LCHlch(56.88, 62.56, 296.19°)
OKLaboklab(63.9% 0.027 -0.1595)
OKLCHoklch(63.9% 0.162 279.6)
XYZxyz(30.3505, 24.8013, 81.7690)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7DEB #EBE87A
analogous
#7AB6EB #7A7DEB #AF7AEB
triadic
#7A7DEB #EB7A7D #7DEB7A
tetradic
#7A7DEB #EB7AB6 #EBE87A #7AEBAF
square
#7A7DEB #EB7AB6 #EBE87A #7AEBAF
split-complementary
#7A7DEB #EBAF7A #B6EB7A
monochromatic
#1F23CC #4549E3 #7A7DEB #AFB1F3 #E4E5FB

Accessibility & contrast

On white

3.52
#7A7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#7A7DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7DEB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7DEB#FFFFFF#000000##000000
##7A7DEB1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#4484E9
Tritanopia (blue-blind)
#5094A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7a7deb;
/* rgb */ color: rgb(122, 125, 235);
/* oklch */ color: oklch(63.9% 0.162 279.6);
Tailwind
colors: {
  custom: {
    50: '#a7a2f2',
    500: '#7a7deb',
    950: '#000000',
  },
}
SCSS
$custom: #7a7deb;
$custom-light: #a7a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7deb",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 238.407,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.63904,
    "c": 0.16179,
    "h": 279.6
  },
  "luminance": 0.24803
}

Semantic roles & 50–950 ramp

primary
#7A7DEB
secondary
#F0EFD1
accent
#D110D6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7A7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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