#796AFD#796AFD

#796AFD is a mid, highly saturated blue. Relative luminance 0.215; OKLCH L 61.7% C 0.211 H 282.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#796AFD
RGBrgb(121, 106, 253)
HSLhsl(246, 97%, 70%)
HSVhsv(246, 58%, 99%)
CMYKcmyk(52.2%, 58.1%, 0%, 0.8%)
CIE-LABlab(53.45, 43.93, -71.65)
CIE-LCHlch(53.45, 84.05, 301.51°)
OKLaboklab(61.68% 0.0471 -0.2053)
OKLCHoklch(61.68% 0.211 282.9)
XYZxyz(30.7634, 21.4631, 95.4312)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AFD #EEFD6A
analogous
#6AA5FD #796AFD #C26AFD
triadic
#796AFD #FD796A #6AFD79
tetradic
#796AFD #FD6AA5 #EEFD6A #6AFDC2
square
#796AFD #FD6AA5 #EEFD6A #6AFDC2
split-complementary
#796AFD #FDC26A #A5FD6A
monochromatic
#1B03E9 #432EFC #796AFD #AFA6FE #E4E1FF

Accessibility & contrast

On white

3.97
#796AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#796AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AFD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AFD#FFFFFF#000000##000000
##796AFD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007BFA
Tritanopia (blue-blind)
#418CA9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796afd;
/* rgb */ color: rgb(121, 106, 253);
/* oklch */ color: oklch(61.7% 0.211 282.9);
Tailwind
colors: {
  custom: {
    50: '#a995ff',
    500: '#796afd',
    950: '#000000',
  },
}
SCSS
$custom: #796afd;
$custom-light: #a995ff;
$custom-dark: #000000;
JSON
{
  "hex": "#796afd",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 246.122,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61684,
    "c": 0.21063,
    "h": 282.9
  },
  "luminance": 0.21465
}

Semantic roles & 50–950 ramp

primary
#796AFD
secondary
#F1F6CD
accent
#E600CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796AFD

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

Preview Lab → · Contrast checker → · Palette generator →

#796AFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva