#797DED#797DED

#797DED is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.0% C 0.165 H 279.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#797DED
RGBrgb(121, 125, 237)
HSLhsl(238, 76%, 70%)
HSVhsv(238, 49%, 93%)
CMYKcmyk(48.9%, 47.3%, 0%, 7.1%)
CIE-LABlab(56.92, 27.99, -57.18)
CIE-LCHlch(56.92, 63.66, 296.08°)
OKLaboklab(63.96% 0.0261 -0.1626)
OKLCHoklch(63.96% 0.165 279.1)
XYZxyz(30.5001, 24.8449, 83.2928)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797DED #EDE979
analogous
#79B7ED #797DED #AF79ED
triadic
#797DED #ED797D #7DED79
tetradic
#797DED #ED79B7 #EDE979 #79EDAF
square
#797DED #ED79B7 #EDE979 #79EDAF
split-complementary
#797DED #EDAF79 #B7ED79
monochromatic
#1C22D0 #4349E6 #797DED #AFB1F4 #E4E5FB

Accessibility & contrast

On white

3.52
#797DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#797DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797DED
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797DED#FFFFFF#000000##000000
##797DED1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF1
Deuteranopia (green-blind)
#4284EB
Tritanopia (blue-blind)
#4C95AA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #797ded;
/* rgb */ color: rgb(121, 125, 237);
/* oklch */ color: oklch(64.0% 0.165 279.1);
Tailwind
colors: {
  custom: {
    50: '#a6a2f3',
    500: '#797ded',
    950: '#000000',
  },
}
SCSS
$custom: #797ded;
$custom-light: #a6a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#797ded",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 237.931,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63955,
    "c": 0.16471,
    "h": 279.1
  },
  "luminance": 0.24847
}

Semantic roles & 50–950 ramp

primary
#797DED
secondary
#F1F0D1
accent
#D10DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #797DED

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

Preview Lab → · Contrast checker → · Palette generator →

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