#796FE0#796FE0

#796FE0 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.6% C 0.166 H 284.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#796FE0
RGBrgb(121, 111, 224)
HSLhsl(245, 65%, 66%)
HSVhsv(245, 50%, 88%)
CMYKcmyk(46%, 50.4%, 0%, 12.2%)
CIE-LABlab(52.75, 32.45, -56.60)
CIE-LCHlch(52.75, 65.24, 299.83°)
OKLaboklab(60.57% 0.041 -0.161)
OKLCHoklch(60.57% 0.166 284.3)
XYZxyz(27.0202, 20.8144, 73.1004)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FE0 #D6E06F
analogous
#6F9DE0 #796FE0 #B16FE0
triadic
#796FE0 #E0796F #6FE079
tetradic
#796FE0 #E06F9D #D6E06F #6FE0B1
square
#796FE0 #E06F9D #D6E06F #6FE0B1
split-complementary
#796FE0 #E0B16F #9DE06F
monochromatic
#3226AF #4A3DD5 #796FE0 #A8A1EB #D7D4F6

Accessibility & contrast

On white

4.07
#796FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#796FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FE0
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FE0#FFFFFF#000000##000000
##796FE01.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B81E4
Deuteranopia (green-blind)
#367ADE
Tritanopia (blue-blind)
#57879D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796fe0;
/* rgb */ color: rgb(121, 111, 224);
/* oklch */ color: oklch(60.6% 0.166 284.3);
Tailwind
colors: {
  custom: {
    50: '#a698ea',
    500: '#796fe0',
    950: '#000000',
  },
}
SCSS
$custom: #796fe0;
$custom-light: #a698ea;
$custom-dark: #000000;
JSON
{
  "hex": "#796fe0",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 224
  },
  "hsl": {
    "h": 245.31,
    "s": 64.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60565,
    "c": 0.16614,
    "h": 284.3
  },
  "luminance": 0.20816
}

Semantic roles & 50–950 ramp

primary
#796FE0
secondary
#E5E8C3
accent
#CC19BD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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