#796DE4#796DE4

#796DE4 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.5% C 0.174 H 284.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#796DE4
RGBrgb(121, 109, 228)
HSLhsl(246, 69%, 66%)
HSVhsv(246, 52%, 89%)
CMYKcmyk(46.9%, 52.2%, 0%, 10.6%)
CIE-LABlab(52.51, 34.80, -59.22)
CIE-LCHlch(52.51, 68.69, 300.44°)
OKLaboklab(60.47% 0.0436 -0.1687)
OKLCHoklch(60.47% 0.174 284.5)
XYZxyz(27.3533, 20.6024, 75.9191)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DE4 #D8E46D
analogous
#6D9CE4 #796DE4 #B46DE4
triadic
#796DE4 #E4796D #6DE479
tetradic
#796DE4 #E46D9C #D8E46D #6DE4B4
square
#796DE4 #E46D9C #D8E46D #6DE4B4
split-complementary
#796DE4 #E4B46D #9CE46D
monochromatic
#3021B5 #4A39DA #796DE4 #A8A1EE #D8D4F7

Accessibility & contrast

On white

4.10
#796DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#796DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DE4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DE4#FFFFFF#000000##000000
##796DE41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3181E8
Deuteranopia (green-blind)
#2C7AE1
Tritanopia (blue-blind)
#54879E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #796de4;
/* rgb */ color: rgb(121, 109, 228);
/* oklch */ color: oklch(60.5% 0.174 284.5);
Tailwind
colors: {
  custom: {
    50: '#a697ed',
    500: '#796de4',
    950: '#000000',
  },
}
SCSS
$custom: #796de4;
$custom-light: #a697ed;
$custom-dark: #000000;
JSON
{
  "hex": "#796de4",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 228
  },
  "hsl": {
    "h": 246.05,
    "s": 68.786,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60468,
    "c": 0.17425,
    "h": 284.5
  },
  "luminance": 0.20604
}

Semantic roles & 50–950 ramp

primary
#796DE4
secondary
#E6EAC3
accent
#D115BE
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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