#796AFC#796AFC

#796AFC is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.6% C 0.209 H 283.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#796AFC
RGBrgb(121, 106, 252)
HSLhsl(246, 96%, 70%)
HSVhsv(246, 58%, 99%)
CMYKcmyk(52%, 57.9%, 0%, 1.2%)
CIE-LABlab(53.38, 43.63, -71.21)
CIE-LCHlch(53.38, 83.52, 301.50°)
OKLaboklab(61.61% 0.0471 -0.204)
OKLCHoklch(61.61% 0.209 283)
XYZxyz(30.6045, 21.3996, 94.5945)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AFC #EDFC6A
analogous
#6AA4FC #796AFC #C26AFC
triadic
#796AFC #FC796A #6AFC79
tetradic
#796AFC #FC6AA4 #EDFC6A #6AFCC2
square
#796AFC #FC6AA4 #EDFC6A #6AFCC2
split-complementary
#796AFC #FCC26A #A4FC6A
monochromatic
#1C05E7 #432EFB #796AFC #AFA6FD #E4E1FE

Accessibility & contrast

On white

3.98
#796AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#796AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AFC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AFC#FFFFFF#000000##000000
##796AFC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007BF9
Tritanopia (blue-blind)
#428CA9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796afc;
/* rgb */ color: rgb(121, 106, 252);
/* oklch */ color: oklch(61.6% 0.209 283.0);
Tailwind
colors: {
  custom: {
    50: '#a995fe',
    500: '#796afc',
    950: '#000000',
  },
}
SCSS
$custom: #796afc;
$custom-light: #a995fe;
$custom-dark: #000000;
JSON
{
  "hex": "#796afc",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 246.164,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.61612,
    "c": 0.20937,
    "h": 283
  },
  "luminance": 0.21401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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