#796DEA#796DEA

#796DEA is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.9% C 0.182 H 283.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#796DEA
RGBrgb(121, 109, 234)
HSLhsl(246, 75%, 67%)
HSVhsv(246, 53%, 92%)
CMYKcmyk(48.3%, 53.4%, 0%, 8.2%)
CIE-LABlab(52.89, 36.57, -61.99)
CIE-LCHlch(52.89, 71.97, 300.54°)
OKLaboklab(60.87% 0.0439 -0.1768)
OKLCHoklch(60.87% 0.182 283.9)
XYZxyz(28.2006, 20.9413, 80.3821)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DEA #DEEA6D
analogous
#6DA0EA #796DEA #B86DEA
triadic
#796DEA #EA796D #6DEA79
tetradic
#796DEA #EA6DA0 #DEEA6D #6DEAB8
square
#796DEA #EA6DA0 #DEEA6D #6DEAB8
split-complementary
#796DEA #EAB86D #A0EA6D
monochromatic
#2C1CC1 #4837E2 #796DEA #AAA3F2 #DBD8F9

Accessibility & contrast

On white

4.05
#796DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#796DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DEA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DEA#FFFFFF#000000##000000
##796DEA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2882EE
Deuteranopia (green-blind)
#207AE7
Tritanopia (blue-blind)
#5089A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796dea;
/* rgb */ color: rgb(121, 109, 234);
/* oklch */ color: oklch(60.9% 0.182 283.9);
Tailwind
colors: {
  custom: {
    50: '#a797f1',
    500: '#796dea',
    950: '#000000',
  },
}
SCSS
$custom: #796dea;
$custom-light: #a797f1;
$custom-dark: #000000;
JSON
{
  "hex": "#796dea",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 234
  },
  "hsl": {
    "h": 245.76,
    "s": 74.85,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.18221,
    "h": 283.9
  },
  "luminance": 0.20943
}

Semantic roles & 50–950 ramp

primary
#796DEA
secondary
#E9EDC6
accent
#D70EC4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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