#796AF6#796AF6

#796AF6 is a mid, highly saturated blue. Relative luminance 0.210; OKLCH L 61.2% C 0.202 H 283.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#796AF6
RGBrgb(121, 106, 246)
HSLhsl(246, 89%, 69%)
HSVhsv(246, 57%, 96%)
CMYKcmyk(50.8%, 56.9%, 0%, 3.5%)
CIE-LABlab(52.98, 41.86, -68.54)
CIE-LCHlch(52.98, 80.31, 301.41°)
OKLaboklab(61.18% 0.0472 -0.1961)
OKLCHoklch(61.18% 0.202 283.5)
XYZxyz(29.6687, 21.0252, 89.6659)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AF6 #E7F66A
analogous
#6AA1F6 #796AF6 #BF6AF6
triadic
#796AF6 #F6796A #6AF679
tetradic
#796AF6 #F66AA1 #E7F66A #6AF6BF
square
#796AF6 #F66AA1 #E7F66A #6AF6BF
split-complementary
#796AF6 #F6BF6A #A1F66A
monochromatic
#230DD9 #4530F3 #796AF6 #ADA4F9 #E1DDFD

Accessibility & contrast

On white

4.03
#796AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#796AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AF6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AF6#FFFFFF#000000##000000
##796AF61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#488AA6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796af6;
/* rgb */ color: rgb(121, 106, 246);
/* oklch */ color: oklch(61.2% 0.202 283.5);
Tailwind
colors: {
  custom: {
    50: '#a895fa',
    500: '#796af6',
    950: '#000000',
  },
}
SCSS
$custom: #796af6;
$custom-light: #a895fa;
$custom-dark: #000000;
JSON
{
  "hex": "#796af6",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 246.429,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61183,
    "c": 0.20174,
    "h": 283.5
  },
  "luminance": 0.21027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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