#7A8DEC#7A8DEC

#7A8DEC is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.1% C 0.142 H 273.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7A8DEC
RGBrgb(122, 141, 236)
HSLhsl(230, 75%, 70%)
HSVhsv(230, 48%, 93%)
CMYKcmyk(48.3%, 40.3%, 0%, 7.5%)
CIE-LABlab(60.99, 18.43, -50.14)
CIE-LCHlch(60.99, 53.42, 290.18°)
OKLaboklab(67.05% 0.0085 -0.1419)
OKLCHoklch(67.05% 0.142 273.4)
XYZxyz(32.6865, 29.2415, 83.2624)
Luminance0.2924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8DEC #ECD97A
analogous
#7AC6EC #7A8DEC #A07AEC
triadic
#7A8DEC #EC7A8D #8DEC7A
tetradic
#7A8DEC #EC7AC6 #ECD97A #7AECA0
square
#7A8DEC #EC7AC6 #ECD97A #7AECA0
split-complementary
#7A8DEC #ECA07A #C6EC7A
monochromatic
#1D3BCE #445FE4 #7A8DEC #B0BBF4 #E4E8FB

Accessibility & contrast

On white

3.07
#7A8DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#7A8DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8DEC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8DEC#FFFFFF#000000##000000
##7A8DEC1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#5D8FEA
Tritanopia (blue-blind)
#4DA1B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7a8dec;
/* rgb */ color: rgb(122, 141, 236);
/* oklch */ color: oklch(67.1% 0.142 273.4);
Tailwind
colors: {
  custom: {
    50: '#a6aef2',
    500: '#7a8dec',
    950: '#000000',
  },
}
SCSS
$custom: #7a8dec;
$custom-light: #a6aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8dec",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 230,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67054,
    "c": 0.14213,
    "h": 273.4
  },
  "luminance": 0.29243
}

Semantic roles & 50–950 ramp

primary
#7A8DEC
secondary
#F1EBD1
accent
#B60ED7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7A8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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