#796EF3#796EF3

#796EF3 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.7% C 0.193 H 282.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#796EF3
RGBrgb(121, 110, 243)
HSLhsl(245, 85%, 69%)
HSVhsv(245, 55%, 95%)
CMYKcmyk(50.2%, 54.7%, 0%, 4.7%)
CIE-LABlab(53.69, 38.64, -65.71)
CIE-LCHlch(53.69, 76.23, 300.46°)
OKLaboklab(61.65% 0.043 -0.1878)
OKLCHoklch(61.65% 0.193 282.9)
XYZxyz(29.6339, 21.6863, 87.4010)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EF3 #E8F36E
analogous
#6EA6F3 #796EF3 #BB6EF3
triadic
#796EF3 #F3796E #6EF379
tetradic
#796EF3 #F36EA6 #E8F36E #6EF3BB
square
#796EF3 #F36EA6 #E8F36E #6EF3BB
split-complementary
#796EF3 #F3BB6E #A6F36E
monochromatic
#2212D5 #4535EE #796EF3 #ADA7F8 #E1DFFC

Accessibility & contrast

On white

3.93
#796EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#796EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EF3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EF3#FFFFFF#000000##000000
##796EF31.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1985F8
Deuteranopia (green-blind)
#007CF0
Tritanopia (blue-blind)
#4A8CA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796ef3;
/* rgb */ color: rgb(121, 110, 243);
/* oklch */ color: oklch(61.7% 0.193 282.9);
Tailwind
colors: {
  custom: {
    50: '#a898f8',
    500: '#796ef3',
    950: '#000000',
  },
}
SCSS
$custom: #796ef3;
$custom-light: #a898f8;
$custom-dark: #000000;
JSON
{
  "hex": "#796ef3",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 243
  },
  "hsl": {
    "h": 244.962,
    "s": 84.713,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6165,
    "c": 0.19267,
    "h": 282.9
  },
  "luminance": 0.21688
}

Semantic roles & 50–950 ramp

primary
#796EF3
secondary
#EFF2CB
accent
#E104CF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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