#796FEE#796FEE

#796FEE is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.5% C 0.185 H 283.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#796FEE
RGBrgb(121, 111, 238)
HSLhsl(245, 79%, 68%)
HSVhsv(245, 53%, 93%)
CMYKcmyk(49.2%, 53.4%, 0%, 6.7%)
CIE-LABlab(53.61, 36.57, -63.07)
CIE-LCHlch(53.61, 72.90, 300.11°)
OKLaboklab(61.48% 0.0418 -0.18)
OKLCHoklch(61.48% 0.185 283.1)
XYZxyz(28.9976, 21.6054, 83.5147)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FEE #E4EE6F
analogous
#6FA4EE #796FEE #B86FEE
triadic
#796FEE #EE796F #6FEE79
tetradic
#796FEE #EE6FA4 #E4EE6F #6FEEB8
square
#796FEE #EE6FA4 #E4EE6F #6FEEB8
split-complementary
#796FEE #EEB86F #A4EE6F
monochromatic
#2618CB #4638E8 #796FEE #ACA6F4 #DFDCFB

Accessibility & contrast

On white

3.95
#796FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#796FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FEE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FEE#FFFFFF#000000##000000
##796FEE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2884F2
Deuteranopia (green-blind)
#1D7CEB
Tritanopia (blue-blind)
#4D8BA4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796fee;
/* rgb */ color: rgb(121, 111, 238);
/* oklch */ color: oklch(61.5% 0.185 283.1);
Tailwind
colors: {
  custom: {
    50: '#a798f4',
    500: '#796fee',
    950: '#000000',
  },
}
SCSS
$custom: #796fee;
$custom-light: #a798f4;
$custom-dark: #000000;
JSON
{
  "hex": "#796fee",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 244.724,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61483,
    "c": 0.1848,
    "h": 283.1
  },
  "luminance": 0.21607
}

Semantic roles & 50–950 ramp

primary
#796FEE
secondary
#ECF0C9
accent
#DB0ACB
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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