#798AFA#798AFA

#798AFA is a light, vivid blue. Relative luminance 0.291; OKLCH L 67.2% C 0.165 H 274.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#798AFA
RGBrgb(121, 138, 250)
HSLhsl(232, 93%, 73%)
HSVhsv(232, 52%, 98%)
CMYKcmyk(51.6%, 44.8%, 0%, 2%)
CIE-LABlab(60.91, 24.22, -58.01)
CIE-LCHlch(60.91, 62.86, 292.66°)
OKLaboklab(67.21% 0.0132 -0.1649)
OKLCHoklch(67.21% 0.165 274.6)
XYZxyz(34.2235, 29.1418, 94.2455)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AFA #FAE979
analogous
#79CAFA #798AFA #A879FA
triadic
#798AFA #FA798A #8AFA79
tetradic
#798AFA #FA79CA #FAE979 #79FAA8
square
#798AFA #FA79CA #FAE979 #79FAA8
split-complementary
#798AFA #FAA879 #CAFA79
monochromatic
#0927F0 #3E56F8 #798AFA #B4BEFC #E2E5FE

Accessibility & contrast

On white

3.08
#798AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#798AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AFA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AFA#FFFFFF#000000##000000
##798AFA1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FE
Deuteranopia (green-blind)
#4B8EF8
Tritanopia (blue-blind)
#3FA2B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798afa;
/* rgb */ color: rgb(121, 138, 250);
/* oklch */ color: oklch(67.2% 0.165 274.6);
Tailwind
colors: {
  custom: {
    50: '#a7abfc',
    500: '#798afa',
    950: '#000000',
  },
}
SCSS
$custom: #798afa;
$custom-light: #a7abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#798afa",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 232.093,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67212,
    "c": 0.16547,
    "h": 274.6
  },
  "luminance": 0.29144
}

Semantic roles & 50–950 ramp

primary
#798AFA
secondary
#F6F2D5
accent
#C700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #798AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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