#797AE8#797AE8

#797AE8 is a light, vivid blue. Relative luminance 0.238; OKLCH L 63.1% C 0.162 H 280.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#797AE8
RGBrgb(121, 122, 232)
HSLhsl(239, 71%, 69%)
HSVhsv(239, 48%, 91%)
CMYKcmyk(47.8%, 47.4%, 0%, 9%)
CIE-LABlab(55.90, 28.27, -56.04)
CIE-LCHlch(55.90, 62.77, 296.77°)
OKLaboklab(63.09% 0.029 -0.1593)
OKLCHoklch(63.09% 0.162 280.3)
XYZxyz(29.4057, 23.8087, 79.3744)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797AE8 #E8E779
analogous
#79B2E8 #797AE8 #AF79E8
triadic
#797AE8 #E8797A #7AE879
tetradic
#797AE8 #E879B2 #E8E779 #79E8AF
square
#797AE8 #E879B2 #E8E779 #79E8AF
split-complementary
#797AE8 #E8AF79 #B2E879
monochromatic
#2223C5 #4546DF #797AE8 #ADAEF1 #E1E2FA

Accessibility & contrast

On white

3.64
#797AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#797AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797AE8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797AE8#FFFFFF#000000##000000
##797AE81.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8AEC
Deuteranopia (green-blind)
#4282E6
Tritanopia (blue-blind)
#5091A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #797ae8;
/* rgb */ color: rgb(121, 122, 232);
/* oklch */ color: oklch(63.1% 0.162 280.3);
Tailwind
colors: {
  custom: {
    50: '#a6a0f0',
    500: '#797ae8',
    950: '#000000',
  },
}
SCSS
$custom: #797ae8;
$custom-light: #a6a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#797ae8",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 239.459,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63086,
    "c": 0.1619,
    "h": 280.3
  },
  "luminance": 0.2381
}

Semantic roles & 50–950 ramp

primary
#797AE8
secondary
#EFEECE
accent
#D113D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #797AE8

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

Preview Lab → · Contrast checker → · Palette generator →

#797AE8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva