#7A7CE8#7A7CE8

#7A7CE8 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.5% C 0.159 H 280.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7A7CE8
RGBrgb(122, 124, 232)
HSLhsl(239, 71%, 69%)
HSVhsv(239, 47%, 91%)
CMYKcmyk(47.4%, 46.6%, 0%, 9%)
CIE-LABlab(56.46, 27.31, -55.13)
CIE-LCHlch(56.46, 61.52, 296.35°)
OKLaboklab(63.53% 0.0278 -0.1566)
OKLCHoklch(63.53% 0.159 280.1)
XYZxyz(29.7948, 24.3775, 79.4637)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7CE8 #E8E67A
analogous
#7AB3E8 #7A7CE8 #AF7AE8
triadic
#7A7CE8 #E87A7C #7CE87A
tetradic
#7A7CE8 #E87AB3 #E8E67A #7AE8AF
square
#7A7CE8 #E87AB3 #E8E67A #7AE8AF
split-complementary
#7A7CE8 #E8AF7A #B3E87A
monochromatic
#2225C5 #4649DF #7A7CE8 #AEAFF1 #E2E3FA

Accessibility & contrast

On white

3.57
#7A7CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7A7CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7CE8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7CE8#FFFFFF#000000##000000
##7A7CE81.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8CEC
Deuteranopia (green-blind)
#4683E6
Tritanopia (blue-blind)
#5293A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7a7ce8;
/* rgb */ color: rgb(122, 124, 232);
/* oklch */ color: oklch(63.5% 0.159 280.1);
Tailwind
colors: {
  custom: {
    50: '#a6a1f0',
    500: '#7a7ce8',
    950: '#000000',
  },
}
SCSS
$custom: #7a7ce8;
$custom-light: #a6a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7ce8",
  "rgb": {
    "r": 122,
    "g": 124,
    "b": 232
  },
  "hsl": {
    "h": 238.909,
    "s": 70.513,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63533,
    "c": 0.15903,
    "h": 280.1
  },
  "luminance": 0.24379
}

Semantic roles & 50–950 ramp

primary
#7A7CE8
secondary
#EFEECF
accent
#CF13D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #7A7CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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