#798FF1#798FF1

#798FF1 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.7% C 0.147 H 272.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#798FF1
RGBrgb(121, 143, 241)
HSLhsl(229, 81%, 71%)
HSVhsv(229, 50%, 95%)
CMYKcmyk(49.8%, 40.7%, 0%, 5.5%)
CIE-LABlab(61.70, 18.53, -51.78)
CIE-LCHlch(61.70, 55.00, 289.69°)
OKLaboklab(67.67% 0.0061 -0.1467)
OKLCHoklch(67.67% 0.147 272.4)
XYZxyz(33.5797, 30.0586, 87.2345)
Luminance0.3006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FF1 #F1DB79
analogous
#79CBF1 #798FF1 #9F79F1
triadic
#798FF1 #F1798F #8FF179
tetradic
#798FF1 #F179CB #F1DB79 #79F19F
square
#798FF1 #F179CB #F1DB79 #79F19F
split-complementary
#798FF1 #F19F79 #CBF179
monochromatic
#173AD9 #4261EB #798FF1 #B0BDF7 #E3E8FC

Accessibility & contrast

On white

2.99
#798FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#798FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798FF1
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FF1#FFFFFF#000000##000000
##798FF11.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF5
Deuteranopia (green-blind)
#5C90EF
Tritanopia (blue-blind)
#46A4B4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798ff1;
/* rgb */ color: rgb(121, 143, 241);
/* oklch */ color: oklch(67.7% 0.147 272.4);
Tailwind
colors: {
  custom: {
    50: '#a6aff6',
    500: '#798ff1',
    950: '#000000',
  },
}
SCSS
$custom: #798ff1;
$custom-light: #a6aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#798ff1",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 241
  },
  "hsl": {
    "h": 229,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67666,
    "c": 0.1468,
    "h": 272.4
  },
  "luminance": 0.30061
}

Semantic roles & 50–950 ramp

primary
#798FF1
secondary
#F3EDD3
accent
#B608DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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