#796EF1#796EF1

#796EF1 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.5% C 0.190 H 283.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#796EF1
RGBrgb(121, 110, 241)
HSLhsl(245, 82%, 69%)
HSVhsv(245, 54%, 95%)
CMYKcmyk(49.8%, 54.4%, 0%, 5.5%)
CIE-LABlab(53.56, 38.05, -64.81)
CIE-LCHlch(53.56, 75.15, 300.42°)
OKLaboklab(61.51% 0.043 -0.1851)
OKLCHoklch(61.51% 0.19 283.1)
XYZxyz(29.3335, 21.5661, 85.8191)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EF1 #E6F16E
analogous
#6EA5F1 #796EF1 #BB6EF1
triadic
#796EF1 #F1796E #6EF179
tetradic
#796EF1 #F16EA5 #E6F16E #6EF1BB
square
#796EF1 #F16EA5 #E6F16E #6EF1BB
split-complementary
#796EF1 #F1BB6E #A5F16E
monochromatic
#2414D0 #4536EC #796EF1 #ADA6F6 #E0DEFC

Accessibility & contrast

On white

3.95
#796EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#796EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EF1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EF1#FFFFFF#000000##000000
##796EF11.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E84F5
Deuteranopia (green-blind)
#0D7CEE
Tritanopia (blue-blind)
#4B8BA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796ef1;
/* rgb */ color: rgb(121, 110, 241);
/* oklch */ color: oklch(61.5% 0.190 283.1);
Tailwind
colors: {
  custom: {
    50: '#a898f6',
    500: '#796ef1',
    950: '#000000',
  },
}
SCSS
$custom: #796ef1;
$custom-light: #a898f6;
$custom-dark: #000000;
JSON
{
  "hex": "#796ef1",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 241
  },
  "hsl": {
    "h": 245.038,
    "s": 82.39,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61513,
    "c": 0.19005,
    "h": 283.1
  },
  "luminance": 0.21568
}

Semantic roles & 50–950 ramp

primary
#796EF1
secondary
#EEF1CA
accent
#DF07CD
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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