#796CF1#796CF1

#796CF1 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.2% C 0.193 H 283.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#796CF1
RGBrgb(121, 108, 241)
HSLhsl(246, 83%, 68%)
HSVhsv(246, 55%, 95%)
CMYKcmyk(49.8%, 55.2%, 0%, 5.5%)
CIE-LABlab(53.10, 39.22, -65.55)
CIE-LCHlch(53.10, 76.39, 300.89°)
OKLaboklab(61.17% 0.0451 -0.1873)
OKLCHoklch(61.17% 0.193 283.5)
XYZxyz(29.1201, 21.1394, 85.7479)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CF1 #E4F16C
analogous
#6CA1F1 #796CF1 #BC6CF1
triadic
#796CF1 #F1796C #6CF179
tetradic
#796CF1 #F16CA1 #E4F16C #6CF1BC
square
#796CF1 #F16CA1 #E4F16C #6CF1BC
split-complementary
#796CF1 #F1BC6C #A1F16C
monochromatic
#2614CF #4634EC #796CF1 #ACA4F6 #DFDCFC

Accessibility & contrast

On white

4.02
#796CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#796CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CF1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CF1#FFFFFF#000000##000000
##796CF11.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1483F6
Deuteranopia (green-blind)
#007AEE
Tritanopia (blue-blind)
#4B8AA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796cf1;
/* rgb */ color: rgb(121, 108, 241);
/* oklch */ color: oklch(61.2% 0.193 283.5);
Tailwind
colors: {
  custom: {
    50: '#a896f6',
    500: '#796cf1',
    950: '#000000',
  },
}
SCSS
$custom: #796cf1;
$custom-light: #a896f6;
$custom-dark: #000000;
JSON
{
  "hex": "#796cf1",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 241
  },
  "hsl": {
    "h": 245.865,
    "s": 82.609,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6117,
    "c": 0.1927,
    "h": 283.5
  },
  "luminance": 0.21141
}

Semantic roles & 50–950 ramp

primary
#796CF1
secondary
#ECF0C8
accent
#DF06CA
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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