#798CF6#798CF6

#798CF6 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.4% C 0.157 H 273.8°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#798CF6
RGBrgb(121, 140, 246)
HSLhsl(231, 87%, 72%)
HSVhsv(231, 51%, 96%)
CMYKcmyk(50.8%, 43.1%, 0%, 3.5%)
CIE-LABlab(61.20, 21.82, -55.34)
CIE-LCHlch(61.20, 59.49, 291.52°)
OKLaboklab(67.36% 0.0104 -0.1571)
OKLCHoklch(67.36% 0.157 273.8)
XYZxyz(33.8925, 29.4728, 91.0738)
Luminance0.2948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CF6 #F6E379
analogous
#79CBF6 #798CF6 #A579F6
triadic
#798CF6 #F6798C #8CF679
tetradic
#798CF6 #F679CB #F6E379 #79F6A5
square
#798CF6 #F679CB #F6E379 #79F6A5
split-complementary
#798CF6 #F6A579 #CBF679
monochromatic
#0F30E5 #405BF2 #798CF6 #B2BDFA #E2E6FD

Accessibility & contrast

On white

3.05
#798CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#798CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CF6
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CF6#FFFFFF#000000##000000
##798CF61.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099FA
Deuteranopia (green-blind)
#538FF4
Tritanopia (blue-blind)
#42A3B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798cf6;
/* rgb */ color: rgb(121, 140, 246);
/* oklch */ color: oklch(67.4% 0.157 273.8);
Tailwind
colors: {
  custom: {
    50: '#a7adfa',
    500: '#798cf6',
    950: '#000000',
  },
}
SCSS
$custom: #798cf6;
$custom-light: #a7adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#798cf6",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 230.88,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67363,
    "c": 0.15746,
    "h": 273.8
  },
  "luminance": 0.29475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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