#796FDE#796FDE

#796FDE is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.4% C 0.163 H 284.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#796FDE
RGBrgb(121, 111, 222)
HSLhsl(245, 63%, 65%)
HSVhsv(245, 50%, 87%)
CMYKcmyk(45.5%, 50%, 0%, 12.9%)
CIE-LABlab(52.63, 31.86, -55.66)
CIE-LCHlch(52.63, 64.14, 299.79°)
OKLaboklab(60.44% 0.0408 -0.1582)
OKLCHoklch(60.44% 0.163 284.5)
XYZxyz(26.7505, 20.7066, 71.6803)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FDE #D4DE6F
analogous
#6F9DDE #796FDE #B06FDE
triadic
#796FDE #DE796F #6FDE79
tetradic
#796FDE #DE6F9D #D4DE6F #6FDEB0
square
#796FDE #DE6F9D #D4DE6F #6FDEB0
split-complementary
#796FDE #DEB06F #9DDE6F
monochromatic
#3327AB #4B3DD3 #796FDE #A7A1E9 #D6D3F5

Accessibility & contrast

On white

4.08
#796FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#796FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FDE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FDE#FFFFFF#000000##000000
##796FDE1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D81E2
Deuteranopia (green-blind)
#397ADC
Tritanopia (blue-blind)
#58879C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796fde;
/* rgb */ color: rgb(121, 111, 222);
/* oklch */ color: oklch(60.4% 0.163 284.5);
Tailwind
colors: {
  custom: {
    50: '#a598e9',
    500: '#796fde',
    950: '#000000',
  },
}
SCSS
$custom: #796fde;
$custom-light: #a598e9;
$custom-dark: #000000;
JSON
{
  "hex": "#796fde",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 222
  },
  "hsl": {
    "h": 245.405,
    "s": 62.712,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60438,
    "c": 0.16343,
    "h": 284.5
  },
  "luminance": 0.20708
}

Semantic roles & 50–950 ramp

primary
#796FDE
secondary
#E4E7C2
accent
#CA1BBB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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