#796FF5#796FF5

#796FF5 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 62.0% C 0.194 H 282.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#796FF5
RGBrgb(121, 111, 245)
HSLhsl(244, 87%, 70%)
HSVhsv(244, 55%, 96%)
CMYKcmyk(50.6%, 54.7%, 0%, 3.9%)
CIE-LABlab(54.05, 38.65, -66.24)
CIE-LCHlch(54.05, 76.70, 300.26°)
OKLaboklab(61.96% 0.042 -0.1893)
OKLCHoklch(61.96% 0.194 282.5)
XYZxyz(30.0460, 22.0248, 89.0365)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FF5 #EBF56F
analogous
#6FA8F5 #796FF5 #BC6FF5
triadic
#796FF5 #F5796F #6FF579
tetradic
#796FF5 #F56FA8 #EBF56F #6FF5BC
square
#796FF5 #F56FA8 #EBF56F #6FF5BC
split-complementary
#796FF5 #F5BC6F #A8F56F
monochromatic
#1E0FDA #4436F1 #796FF5 #AEA8F9 #E4E1FD

Accessibility & contrast

On white

3.89
#796FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#796FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FF5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FF5#FFFFFF#000000##000000
##796FF51.003.895.415.41
#FFFFFF3.891.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1886FA
Deuteranopia (green-blind)
#007DF2
Tritanopia (blue-blind)
#488DA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796ff5;
/* rgb */ color: rgb(121, 111, 245);
/* oklch */ color: oklch(62.0% 0.194 282.5);
Tailwind
colors: {
  custom: {
    50: '#a898f9',
    500: '#796ff5',
    950: '#000000',
  },
}
SCSS
$custom: #796ff5;
$custom-light: #a898f9;
$custom-dark: #000000;
JSON
{
  "hex": "#796ff5",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 244.478,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61959,
    "c": 0.19395,
    "h": 282.5
  },
  "luminance": 0.22026
}

Semantic roles & 50–950 ramp

primary
#796FF5
secondary
#F0F3CD
accent
#E402D3
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #796FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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