#796DF1#796DF1

#796DF1 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.3% C 0.191 H 283.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#796DF1
RGBrgb(121, 109, 241)
HSLhsl(245, 83%, 69%)
HSVhsv(245, 55%, 95%)
CMYKcmyk(49.8%, 54.8%, 0%, 5.5%)
CIE-LABlab(53.33, 38.63, -65.18)
CIE-LCHlch(53.33, 75.77, 300.66°)
OKLaboklab(61.34% 0.0441 -0.1862)
OKLCHoklch(61.34% 0.191 283.3)
XYZxyz(29.2262, 21.3516, 85.7833)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DF1 #E5F16D
analogous
#6DA3F1 #796DF1 #BB6DF1
triadic
#796DF1 #F1796D #6DF179
tetradic
#796DF1 #F16DA3 #E5F16D #6DF1BB
square
#796DF1 #F16DA3 #E5F16D #6DF1BB
split-complementary
#796DF1 #F1BB6D #A3F16D
monochromatic
#2514D0 #4635EC #796DF1 #ACA5F6 #E0DDFC

Accessibility & contrast

On white

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

On black

5.27
#796DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DF1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DF1#FFFFFF#000000##000000
##796DF11.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1984F5
Deuteranopia (green-blind)
#047BEE
Tritanopia (blue-blind)
#4B8BA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796df1;
/* rgb */ color: rgb(121, 109, 241);
/* oklch */ color: oklch(61.3% 0.191 283.3);
Tailwind
colors: {
  custom: {
    50: '#a897f6',
    500: '#796df1',
    950: '#000000',
  },
}
SCSS
$custom: #796df1;
$custom-light: #a897f6;
$custom-dark: #000000;
JSON
{
  "hex": "#796df1",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 241
  },
  "hsl": {
    "h": 245.455,
    "s": 82.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61341,
    "c": 0.19138,
    "h": 283.3
  },
  "luminance": 0.21353
}

Semantic roles & 50–950 ramp

primary
#796DF1
secondary
#EDF1C9
accent
#DF07CB
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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