#796BF6#796BF6

#796BF6 is a mid, highly saturated blue. Relative luminance 0.212; OKLCH L 61.4% C 0.200 H 283.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#796BF6
RGBrgb(121, 107, 246)
HSLhsl(246, 89%, 69%)
HSVhsv(246, 57%, 96%)
CMYKcmyk(50.8%, 56.5%, 0%, 3.5%)
CIE-LABlab(53.20, 41.28, -68.17)
CIE-LCHlch(53.20, 79.70, 301.20°)
OKLaboklab(61.35% 0.0462 -0.195)
OKLCHoklch(61.35% 0.2 283.3)
XYZxyz(29.7724, 21.2325, 89.7004)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BF6 #E8F66B
analogous
#6BA3F6 #796BF6 #BF6BF6
triadic
#796BF6 #F6796B #6BF679
tetradic
#796BF6 #F66BA3 #E8F66B #6BF6BF
square
#796BF6 #F66BA3 #E8F66B #6BF6BF
split-complementary
#796BF6 #F6BF6B #A3F66B
monochromatic
#220DD9 #4531F2 #796BF6 #ADA5FA #E1DEFD

Accessibility & contrast

On white

4.00
#796BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#796BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BF6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BF6#FFFFFF#000000##000000
##796BF61.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#488BA6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796bf6;
/* rgb */ color: rgb(121, 107, 246);
/* oklch */ color: oklch(61.4% 0.200 283.3);
Tailwind
colors: {
  custom: {
    50: '#a896fa',
    500: '#796bf6',
    950: '#000000',
  },
}
SCSS
$custom: #796bf6;
$custom-light: #a896fa;
$custom-dark: #000000;
JSON
{
  "hex": "#796bf6",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 246.043,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6135,
    "c": 0.20045,
    "h": 283.3
  },
  "luminance": 0.21234
}

Semantic roles & 50–950 ramp

primary
#796BF6
secondary
#EFF3CA
accent
#E500CE
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #796BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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