#796DE2#796DE2

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

Color values

HEX#796DE2
RGBrgb(121, 109, 226)
HSLhsl(246, 67%, 66%)
HSVhsv(246, 52%, 89%)
CMYKcmyk(46.5%, 51.8%, 0%, 11.4%)
CIE-LABlab(52.39, 34.22, -58.30)
CIE-LCHlch(52.39, 67.60, 300.41°)
OKLaboklab(60.34% 0.0435 -0.166)
OKLCHoklch(60.34% 0.172 284.7)
XYZxyz(27.0772, 20.4920, 74.4654)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DE2 #D6E26D
analogous
#6D9BE2 #796DE2 #B36DE2
triadic
#796DE2 #E2796D #6DE279
tetradic
#796DE2 #E26D9B #D6E26D #6DE2B3
square
#796DE2 #E26D9B #D6E26D #6DE2B3
split-complementary
#796DE2 #E2B36D #9BE26D
monochromatic
#3223B1 #4A3AD8 #796DE2 #A8A0EC #D7D3F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796DE2#FFFFFF#000000##000000
##796DE21.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)
#3480E6
Deuteranopia (green-blind)
#2F79DF
Tritanopia (blue-blind)
#56869D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #796de2;
/* rgb */ color: rgb(121, 109, 226);
/* oklch */ color: oklch(60.3% 0.172 284.7);
Tailwind
colors: {
  custom: {
    50: '#a697ec',
    500: '#796de2',
    950: '#000000',
  },
}
SCSS
$custom: #796de2;
$custom-light: #a697ec;
$custom-dark: #000000;
JSON
{
  "hex": "#796de2",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 226
  },
  "hsl": {
    "h": 246.154,
    "s": 66.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60337,
    "c": 0.17159,
    "h": 284.7
  },
  "luminance": 0.20493
}

Semantic roles & 50–950 ramp

primary
#796DE2
secondary
#E5E9C2
accent
#CF17BC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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