#796EF0#796EF0

#796EF0 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.4% C 0.189 H 283.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#796EF0
RGBrgb(121, 110, 240)
HSLhsl(245, 81%, 69%)
HSVhsv(245, 54%, 94%)
CMYKcmyk(49.6%, 54.2%, 0%, 5.9%)
CIE-LABlab(53.50, 37.75, -64.35)
CIE-LCHlch(53.50, 74.61, 300.40°)
OKLaboklab(61.45% 0.043 -0.1838)
OKLCHoklch(61.45% 0.189 283.2)
XYZxyz(29.1845, 21.5065, 85.0346)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EF0 #E5F06E
analogous
#6EA4F0 #796EF0 #BA6EF0
triadic
#796EF0 #F0796E #6EF079
tetradic
#796EF0 #F06EA4 #E5F06E #6EF0BA
square
#796EF0 #F06EA4 #E5F06E #6EF0BA
split-complementary
#796EF0 #F0BA6E #A4F06E
monochromatic
#2515CE #4637EA #796EF0 #ACA5F6 #E0DDFB

Accessibility & contrast

On white

3.96
#796EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#796EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EF0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EF0#FFFFFF#000000##000000
##796EF01.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2084F4
Deuteranopia (green-blind)
#117BED
Tritanopia (blue-blind)
#4C8BA4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796ef0;
/* rgb */ color: rgb(121, 110, 240);
/* oklch */ color: oklch(61.4% 0.189 283.2);
Tailwind
colors: {
  custom: {
    50: '#a798f6',
    500: '#796ef0',
    950: '#000000',
  },
}
SCSS
$custom: #796ef0;
$custom-light: #a798f6;
$custom-dark: #000000;
JSON
{
  "hex": "#796ef0",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 240
  },
  "hsl": {
    "h": 245.077,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.18875,
    "h": 283.2
  },
  "luminance": 0.21508
}

Semantic roles & 50–950 ramp

primary
#796EF0
secondary
#EDF0CA
accent
#DE08CC
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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