#798DF6#798DF6

#798DF6 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.6% C 0.156 H 273.4°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#798DF6
RGBrgb(121, 141, 246)
HSLhsl(230, 87%, 72%)
HSVhsv(230, 51%, 96%)
CMYKcmyk(50.8%, 42.7%, 0%, 3.5%)
CIE-LABlab(61.45, 21.23, -54.94)
CIE-LCHlch(61.45, 58.89, 291.13°)
OKLaboklab(67.56% 0.0093 -0.1559)
OKLCHoklch(67.56% 0.156 273.4)
XYZxyz(34.0393, 29.7663, 91.1227)
Luminance0.2977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DF6 #F6E279
analogous
#79CCF6 #798DF6 #A479F6
triadic
#798DF6 #F6798D #8DF679
tetradic
#798DF6 #F679CC #F6E279 #79F6A4
square
#798DF6 #F679CC #F6E279 #79F6A4
split-complementary
#798DF6 #F6A479 #CCF679
monochromatic
#0F32E5 #405CF2 #798DF6 #B2BEFA #E2E7FD

Accessibility & contrast

On white

3.02
#798DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#798DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DF6
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DF6#FFFFFF#000000##000000
##798DF61.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFA
Deuteranopia (green-blind)
#548FF4
Tritanopia (blue-blind)
#42A4B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798df6;
/* rgb */ color: rgb(121, 141, 246);
/* oklch */ color: oklch(67.6% 0.156 273.4);
Tailwind
colors: {
  custom: {
    50: '#a7aefa',
    500: '#798df6',
    950: '#000000',
  },
}
SCSS
$custom: #798df6;
$custom-light: #a7aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#798df6",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 230.4,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67558,
    "c": 0.15619,
    "h": 273.4
  },
  "luminance": 0.29769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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