#796AF5#796AF5

#796AF5 is a mid, highly saturated blue. Relative luminance 0.210; OKLCH L 61.1% C 0.200 H 283.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#796AF5
RGBrgb(121, 106, 245)
HSLhsl(246, 87%, 69%)
HSVhsv(246, 57%, 96%)
CMYKcmyk(50.6%, 56.7%, 0%, 3.9%)
CIE-LABlab(52.91, 41.56, -68.09)
CIE-LCHlch(52.91, 79.77, 301.40°)
OKLaboklab(61.11% 0.0472 -0.1948)
OKLCHoklch(61.11% 0.2 283.6)
XYZxyz(29.5156, 20.9640, 88.8597)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AF5 #E6F56A
analogous
#6AA1F5 #796AF5 #BF6AF5
triadic
#796AF5 #F5796A #6AF579
tetradic
#796AF5 #F56AA1 #E6F56A #6AF5BF
square
#796AF5 #F56AA1 #E6F56A #6AF5BF
split-complementary
#796AF5 #F5BF6A #A1F56A
monochromatic
#240ED6 #4531F1 #796AF5 #ADA3F9 #E0DDFD

Accessibility & contrast

On white

4.04
#796AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#796AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AF5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AF5#FFFFFF#000000##000000
##796AF51.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#498AA5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796af5;
/* rgb */ color: rgb(121, 106, 245);
/* oklch */ color: oklch(61.1% 0.200 283.6);
Tailwind
colors: {
  custom: {
    50: '#a895f9',
    500: '#796af5',
    950: '#000000',
  },
}
SCSS
$custom: #796af5;
$custom-light: #a895f9;
$custom-dark: #000000;
JSON
{
  "hex": "#796af5",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 246.475,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61112,
    "c": 0.20046,
    "h": 283.6
  },
  "luminance": 0.20966
}

Semantic roles & 50–950 ramp

primary
#796AF5
secondary
#EEF2C9
accent
#E402CC
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #796AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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