#797DE1#797DE1

#797DE1 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.2% C 0.148 H 279.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#797DE1
RGBrgb(121, 125, 225)
HSLhsl(238, 63%, 68%)
HSVhsv(238, 46%, 88%)
CMYKcmyk(46.2%, 44.4%, 0%, 11.8%)
CIE-LABlab(56.25, 24.41, -51.55)
CIE-LCHlch(56.25, 57.04, 295.34°)
OKLaboklab(63.23% 0.0245 -0.1461)
OKLCHoklch(63.23% 0.148 279.5)
XYZxyz(28.8053, 24.1670, 74.3664)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797DE1 #E1DD79
analogous
#79B1E1 #797DE1 #A979E1
triadic
#797DE1 #E1797D #7DE179
tetradic
#797DE1 #E179B1 #E1DD79 #79E1A9
square
#797DE1 #E179B1 #E1DD79 #79E1A9
split-complementary
#797DE1 #E1A979 #B1E179
monochromatic
#292EB7 #474CD6 #797DE1 #ABAEEC #DDDEF7

Accessibility & contrast

On white

3.60
#797DE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#797DE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797DE1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797DE1#FFFFFF#000000##000000
##797DE11.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#558BE5
Deuteranopia (green-blind)
#4D83DF
Tritanopia (blue-blind)
#5492A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #797de1;
/* rgb */ color: rgb(121, 125, 225);
/* oklch */ color: oklch(63.2% 0.148 279.5);
Tailwind
colors: {
  custom: {
    50: '#a5a2eb',
    500: '#797de1',
    950: '#000000',
  },
}
SCSS
$custom: #797de1;
$custom-light: #a5a2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#797de1",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 225
  },
  "hsl": {
    "h": 237.692,
    "s": 63.415,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63231,
    "c": 0.14817,
    "h": 279.5
  },
  "luminance": 0.24168
}

Semantic roles & 50–950 ramp

primary
#797DE1
secondary
#EBEACB
accent
#C41ACB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #797DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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