#7A8FF2#7A8FF2

#7A8FF2 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.8% C 0.148 H 272.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7A8FF2
RGBrgb(122, 143, 242)
HSLhsl(230, 82%, 71%)
HSVhsv(230, 50%, 95%)
CMYKcmyk(49.6%, 40.9%, 0%, 5.1%)
CIE-LABlab(61.82, 19.06, -52.15)
CIE-LCHlch(61.82, 55.52, 290.08°)
OKLaboklab(67.79% 0.0073 -0.1477)
OKLCHoklch(67.79% 0.148 272.8)
XYZxyz(33.8704, 30.1912, 88.0299)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8FF2 #F2DD7A
analogous
#7ACBF2 #7A8FF2 #A17AF2
triadic
#7A8FF2 #F27A8F #8FF27A
tetradic
#7A8FF2 #F27ACB #F2DD7A #7AF2A1
square
#7A8FF2 #F27ACB #F2DD7A #7AF2A1
split-complementary
#7A8FF2 #F2A17A #CBF27A
monochromatic
#1638DC #4260ED #7A8FF2 #B2BEF7 #E3E8FC

Accessibility & contrast

On white

2.98
#7A8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7A8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8FF2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8FF2#FFFFFF#000000##000000
##7A8FF21.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#5B91F0
Tritanopia (blue-blind)
#48A4B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7a8ff2;
/* rgb */ color: rgb(122, 143, 242);
/* oklch */ color: oklch(67.8% 0.148 272.8);
Tailwind
colors: {
  custom: {
    50: '#a7aff7',
    500: '#7a8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #7a8ff2;
$custom-light: #a7aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8ff2",
  "rgb": {
    "r": 122,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 229.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67787,
    "c": 0.1479,
    "h": 272.8
  },
  "luminance": 0.30193
}

Semantic roles & 50–950 ramp

primary
#7A8FF2
secondary
#F3EED4
accent
#B907DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7A8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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