#796AED#796AED

#796AED is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.6% C 0.190 H 284.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#796AED
RGBrgb(121, 106, 237)
HSLhsl(247, 78%, 67%)
HSVhsv(247, 55%, 93%)
CMYKcmyk(48.9%, 55.3%, 0%, 7.1%)
CIE-LABlab(52.38, 39.21, -64.48)
CIE-LCHlch(52.38, 75.46, 301.30°)
OKLaboklab(60.55% 0.0472 -0.1842)
OKLCHoklch(60.55% 0.19 284.4)
XYZxyz(28.3207, 20.4860, 82.5663)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AED #DEED6A
analogous
#6A9DED #796AED #BA6AED
triadic
#796AED #ED796A #6AED79
tetradic
#796AED #ED6A9D #DEED6A #6AEDBA
square
#796AED #ED6A9D #DEED6A #6AEDBA
split-complementary
#796AED #EDBA6A #9DED6A
monochromatic
#2C18C5 #4833E6 #796AED #AAA1F4 #DBD7FA

Accessibility & contrast

On white

4.12
#796AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#796AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AED
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AED#FFFFFF#000000##000000
##796AED1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1581F1
Deuteranopia (green-blind)
#0479EA
Tritanopia (blue-blind)
#4F87A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #796aed;
/* rgb */ color: rgb(121, 106, 237);
/* oklch */ color: oklch(60.6% 0.190 284.4);
Tailwind
colors: {
  custom: {
    50: '#a795f4',
    500: '#796aed',
    950: '#000000',
  },
}
SCSS
$custom: #796aed;
$custom-light: #a795f4;
$custom-dark: #000000;
JSON
{
  "hex": "#796aed",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 246.87,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60554,
    "c": 0.19014,
    "h": 284.4
  },
  "luminance": 0.20487
}

Semantic roles & 50–950 ramp

primary
#796AED
secondary
#E9EEC5
accent
#DB0BC3
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796AED

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

Preview Lab → · Contrast checker → · Palette generator →

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