#796CF3#796CF3

#796CF3 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.3% C 0.195 H 283.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#796CF3
RGBrgb(121, 108, 243)
HSLhsl(246, 85%, 69%)
HSVhsv(246, 56%, 95%)
CMYKcmyk(50.2%, 55.6%, 0%, 4.7%)
CIE-LABlab(53.23, 39.81, -66.46)
CIE-LCHlch(53.23, 77.47, 300.92°)
OKLaboklab(61.31% 0.0451 -0.19)
OKLCHoklch(61.31% 0.195 283.4)
XYZxyz(29.4205, 21.2596, 87.3299)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CF3 #E6F36C
analogous
#6CA3F3 #796CF3 #BD6CF3
triadic
#796CF3 #F3796C #6CF379
tetradic
#796CF3 #F36CA3 #E6F36C #6CF3BD
square
#796CF3 #F36CA3 #E6F36C #6CF3BD
split-complementary
#796CF3 #F3BD6C #A3F36C
monochromatic
#2411D3 #4533EE #796CF3 #ADA5F8 #E0DDFC

Accessibility & contrast

On white

4.00
#796CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#796CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CF3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CF3#FFFFFF#000000##000000
##796CF31.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B83F8
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#4A8BA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796cf3;
/* rgb */ color: rgb(121, 108, 243);
/* oklch */ color: oklch(61.3% 0.195 283.4);
Tailwind
colors: {
  custom: {
    50: '#a896f8',
    500: '#796cf3',
    950: '#000000',
  },
}
SCSS
$custom: #796cf3;
$custom-light: #a896f8;
$custom-dark: #000000;
JSON
{
  "hex": "#796cf3",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 243
  },
  "hsl": {
    "h": 245.778,
    "s": 84.906,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61309,
    "c": 0.19529,
    "h": 283.4
  },
  "luminance": 0.21261
}

Semantic roles & 50–950 ramp

primary
#796CF3
secondary
#EEF1C9
accent
#E104CC
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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