#796EE8#796EE8

#796EE8 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.9% C 0.178 H 283.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#796EE8
RGBrgb(121, 110, 232)
HSLhsl(245, 73%, 67%)
HSVhsv(245, 53%, 91%)
CMYKcmyk(47.8%, 52.6%, 0%, 9%)
CIE-LABlab(52.99, 35.39, -60.69)
CIE-LCHlch(52.99, 70.26, 300.25°)
OKLaboklab(60.91% 0.0426 -0.173)
OKLCHoklch(60.91% 0.178 283.8)
XYZxyz(28.0222, 21.0416, 78.9132)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EE8 #DDE86E
analogous
#6EA0E8 #796EE8 #B66EE8
triadic
#796EE8 #E8796E #6EE879
tetradic
#796EE8 #E86EA0 #DDE86E #6EE8B6
square
#796EE8 #E86EA0 #DDE86E #6EE8B6
split-complementary
#796EE8 #E8B66E #A0E86E
monochromatic
#2C1EBE #4839E0 #796EE8 #AAA3F0 #DBD8F9

Accessibility & contrast

On white

4.03
#796EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#796EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EE8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EE8#FFFFFF#000000##000000
##796EE81.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F82EC
Deuteranopia (green-blind)
#277BE5
Tritanopia (blue-blind)
#5289A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796ee8;
/* rgb */ color: rgb(121, 110, 232);
/* oklch */ color: oklch(60.9% 0.178 283.8);
Tailwind
colors: {
  custom: {
    50: '#a698f0',
    500: '#796ee8',
    950: '#000000',
  },
}
SCSS
$custom: #796ee8;
$custom-light: #a698f0;
$custom-dark: #000000;
JSON
{
  "hex": "#796ee8",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 232
  },
  "hsl": {
    "h": 245.41,
    "s": 72.619,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60908,
    "c": 0.17821,
    "h": 283.8
  },
  "luminance": 0.21043
}

Semantic roles & 50–950 ramp

primary
#796EE8
secondary
#E9ECC6
accent
#D511C3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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