#797FE6#797FE6

#797FE6 is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.9% C 0.152 H 278.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#797FE6
RGBrgb(121, 127, 230)
HSLhsl(237, 69%, 69%)
HSVhsv(237, 47%, 90%)
CMYKcmyk(47.4%, 44.8%, 0%, 9.8%)
CIE-LABlab(57.03, 24.70, -53.11)
CIE-LCHlch(57.03, 58.58, 294.94°)
OKLaboklab(63.91% 0.0229 -0.1507)
OKLCHoklch(63.91% 0.152 278.6)
XYZxyz(29.7531, 24.9553, 78.0967)
Luminance0.2496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FE6 #E6E079
analogous
#79B6E6 #797FE6 #AA79E6
triadic
#797FE6 #E6797F #7FE679
tetradic
#797FE6 #E679B6 #E6E079 #79E6AA
square
#797FE6 #E679B6 #E6E079 #79E6AA
split-complementary
#797FE6 #E6AA79 #B6E679
monochromatic
#242DC1 #454EDC #797FE6 #ADB0F0 #E0E2F9

Accessibility & contrast

On white

3.51
#797FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#797FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FE6
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FE6#FFFFFF#000000##000000
##797FE61.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#558DEA
Deuteranopia (green-blind)
#4C85E4
Tritanopia (blue-blind)
#5195A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #797fe6;
/* rgb */ color: rgb(121, 127, 230);
/* oklch */ color: oklch(63.9% 0.152 278.6);
Tailwind
colors: {
  custom: {
    50: '#a5a4ee',
    500: '#797fe6',
    950: '#000000',
  },
}
SCSS
$custom: #797fe6;
$custom-light: #a5a4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#797fe6",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 236.697,
    "s": 68.553,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6391,
    "c": 0.1524,
    "h": 278.6
  },
  "luminance": 0.24957
}

Semantic roles & 50–950 ramp

primary
#797FE6
secondary
#EEECCD
accent
#C615D0
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #797FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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