#796FED#796FED

#796FED is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.4% C 0.183 H 283.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#796FED
RGBrgb(121, 111, 237)
HSLhsl(245, 78%, 68%)
HSVhsv(245, 53%, 93%)
CMYKcmyk(48.9%, 53.2%, 0%, 7.1%)
CIE-LABlab(53.54, 36.28, -62.61)
CIE-LCHlch(53.54, 72.36, 300.09°)
OKLaboklab(61.42% 0.0418 -0.1787)
OKLCHoklch(61.42% 0.183 283.2)
XYZxyz(28.8511, 21.5468, 82.7431)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FED #E3ED6F
analogous
#6FA4ED #796FED #B86FED
triadic
#796FED #ED796F #6FED79
tetradic
#796FED #ED6FA4 #E3ED6F #6FEDB8
square
#796FED #ED6FA4 #E3ED6F #6FEDB8
split-complementary
#796FED #EDB86F #A4ED6F
monochromatic
#2719C9 #4639E6 #796FED #ACA5F4 #DEDCFB

Accessibility & contrast

On white

3.96
#796FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#796FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FED
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FED#FFFFFF#000000##000000
##796FED1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A84F1
Deuteranopia (green-blind)
#1F7CEA
Tritanopia (blue-blind)
#4E8BA3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796fed;
/* rgb */ color: rgb(121, 111, 237);
/* oklch */ color: oklch(61.4% 0.183 283.2);
Tailwind
colors: {
  custom: {
    50: '#a798f4',
    500: '#796fed',
    950: '#000000',
  },
}
SCSS
$custom: #796fed;
$custom-light: #a798f4;
$custom-dark: #000000;
JSON
{
  "hex": "#796fed",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 244.762,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61416,
    "c": 0.18348,
    "h": 283.2
  },
  "luminance": 0.21548
}

Semantic roles & 50–950 ramp

primary
#796FED
secondary
#ECEFC9
accent
#DA0BCA
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796FED

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

Preview Lab → · Contrast checker → · Palette generator →

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