#797DE6#797DE6

#797DE6 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.5% C 0.155 H 279.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#797DE6
RGBrgb(121, 125, 230)
HSLhsl(238, 69%, 69%)
HSVhsv(238, 47%, 90%)
CMYKcmyk(47.4%, 45.7%, 0%, 9.8%)
CIE-LABlab(56.53, 25.89, -53.91)
CIE-LCHlch(56.53, 59.81, 295.65°)
OKLaboklab(63.53% 0.0252 -0.153)
OKLCHoklch(63.53% 0.155 279.4)
XYZxyz(29.4973, 24.4438, 78.0114)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797DE6 #E6E279
analogous
#79B4E6 #797DE6 #AC79E6
triadic
#797DE6 #E6797D #7DE679
tetradic
#797DE6 #E679B4 #E6E279 #79E6AC
square
#797DE6 #E679B4 #E6E279 #79E6AC
split-complementary
#797DE6 #E6AC79 #B4E679
monochromatic
#242AC1 #454BDC #797DE6 #ADAFF0 #E0E1F9

Accessibility & contrast

On white

3.57
#797DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#797DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797DE6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797DE6#FFFFFF#000000##000000
##797DE61.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#518CEA
Deuteranopia (green-blind)
#4984E4
Tritanopia (blue-blind)
#5193A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #797de6;
/* rgb */ color: rgb(121, 125, 230);
/* oklch */ color: oklch(63.5% 0.155 279.4);
Tailwind
colors: {
  custom: {
    50: '#a6a2ee',
    500: '#797de6',
    950: '#000000',
  },
}
SCSS
$custom: #797de6;
$custom-light: #a6a2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#797de6",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 230
  },
  "hsl": {
    "h": 237.798,
    "s": 68.553,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63529,
    "c": 0.1551,
    "h": 279.4
  },
  "luminance": 0.24445
}

Semantic roles & 50–950 ramp

primary
#797DE6
secondary
#EEECCD
accent
#CA15D0
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #797DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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