#798DFA#798DFA

#798DFA is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.8% C 0.162 H 273.5°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#798DFA
RGBrgb(121, 141, 250)
HSLhsl(231, 93%, 73%)
HSVhsv(231, 52%, 98%)
CMYKcmyk(51.6%, 43.6%, 0%, 2%)
CIE-LABlab(61.67, 22.45, -56.79)
CIE-LCHlch(61.67, 61.07, 291.57°)
OKLaboklab(67.79% 0.0099 -0.1614)
OKLCHoklch(67.79% 0.162 273.5)
XYZxyz(34.6598, 30.0146, 94.3910)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DFA #FAE679
analogous
#79CDFA #798DFA #A679FA
triadic
#798DFA #FA798D #8DFA79
tetradic
#798DFA #FA79CD #FAE679 #79FAA6
square
#798DFA #FA79CD #FAE679 #79FAA6
split-complementary
#798DFA #FAA679 #CDFA79
monochromatic
#092DF0 #3E5BF8 #798DFA #B4BFFC #E2E6FE

Accessibility & contrast

On white

3.00
#798DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#798DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798DFA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DFA#FFFFFF#000000##000000
##798DFA1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#5190F8
Tritanopia (blue-blind)
#3EA5B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798dfa;
/* rgb */ color: rgb(121, 141, 250);
/* oklch */ color: oklch(67.8% 0.162 273.5);
Tailwind
colors: {
  custom: {
    50: '#a7aefc',
    500: '#798dfa',
    950: '#000000',
  },
}
SCSS
$custom: #798dfa;
$custom-light: #a7aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#798dfa",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 230.698,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67792,
    "c": 0.16166,
    "h": 273.5
  },
  "luminance": 0.30017
}

Semantic roles & 50–950 ramp

primary
#798DFA
secondary
#F6F1D5
accent
#C200E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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