#796FE6#796FE6

#796FE6 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.0% C 0.174 H 283.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#796FE6
RGBrgb(121, 111, 230)
HSLhsl(245, 70%, 67%)
HSVhsv(245, 52%, 90%)
CMYKcmyk(47.4%, 51.7%, 0%, 9.8%)
CIE-LABlab(53.11, 34.21, -59.39)
CIE-LCHlch(53.11, 68.54, 299.94°)
OKLaboklab(60.95% 0.0414 -0.1692)
OKLCHoklch(60.95% 0.174 283.7)
XYZxyz(27.8483, 21.1457, 77.4617)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FE6 #DCE66F
analogous
#6FA1E6 #796FE6 #B56FE6
triadic
#796FE6 #E6796F #6FE679
tetradic
#796FE6 #E66FA1 #DCE66F #6FE6B5
square
#796FE6 #E66FA1 #DCE66F #6FE6B5
split-complementary
#796FE6 #E6B56F #A1E66F
monochromatic
#2D20BA #483BDD #796FE6 #AAA3EF #DAD7F8

Accessibility & contrast

On white

4.02
#796FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#796FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FE6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FE6#FFFFFF#000000##000000
##796FE61.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EA
Deuteranopia (green-blind)
#2D7BE3
Tritanopia (blue-blind)
#5389A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796fe6;
/* rgb */ color: rgb(121, 111, 230);
/* oklch */ color: oklch(61.0% 0.174 283.7);
Tailwind
colors: {
  custom: {
    50: '#a698ef',
    500: '#796fe6',
    950: '#000000',
  },
}
SCSS
$custom: #796fe6;
$custom-light: #a698ef;
$custom-dark: #000000;
JSON
{
  "hex": "#796fe6",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 230
  },
  "hsl": {
    "h": 245.042,
    "s": 70.414,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60953,
    "c": 0.17419,
    "h": 283.7
  },
  "luminance": 0.21147
}

Semantic roles & 50–950 ramp

primary
#796FE6
secondary
#E8EBC5
accent
#D213C2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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