#798FF6#798FF6

#798FF6 is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.0% C 0.154 H 272.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#798FF6
RGBrgb(121, 143, 246)
HSLhsl(229, 87%, 72%)
HSVhsv(229, 51%, 96%)
CMYKcmyk(50.8%, 41.9%, 0%, 3.5%)
CIE-LABlab(61.96, 20.05, -54.12)
CIE-LCHlch(61.96, 57.71, 290.33°)
OKLaboklab(67.95% 0.007 -0.1535)
OKLCHoklch(67.95% 0.154 272.6)
XYZxyz(34.3368, 30.3615, 91.2219)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FF6 #F6E079
analogous
#79CEF6 #798FF6 #A279F6
triadic
#798FF6 #F6798F #8FF679
tetradic
#798FF6 #F679CE #F6E079 #79F6A2
square
#798FF6 #F679CE #F6E079 #79F6A2
split-complementary
#798FF6 #F6A279 #CEF679
monochromatic
#0F35E5 #405FF2 #798FF6 #B2BFFA #E2E7FD

Accessibility & contrast

On white

2.97
#798FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#798FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798FF6
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FF6#FFFFFF#000000##000000
##798FF61.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BFA
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#42A5B7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #798ff6;
/* rgb */ color: rgb(121, 143, 246);
/* oklch */ color: oklch(68.0% 0.154 272.6);
Tailwind
colors: {
  custom: {
    50: '#a7affa',
    500: '#798ff6',
    950: '#000000',
  },
}
SCSS
$custom: #798ff6;
$custom-light: #a7affa;
$custom-dark: #000000;
JSON
{
  "hex": "#798ff6",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 229.44,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6795,
    "c": 0.15367,
    "h": 272.6
  },
  "luminance": 0.30364
}

Semantic roles & 50–950 ramp

primary
#798FF6
secondary
#F5F0D6
accent
#BC02E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798FF6

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

Preview Lab → · Contrast checker → · Palette generator →

#798FF6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva