#796DE7#796DE7

#796DE7 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.7% C 0.178 H 284.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#796DE7
RGBrgb(121, 109, 231)
HSLhsl(246, 72%, 67%)
HSVhsv(246, 53%, 91%)
CMYKcmyk(47.6%, 52.8%, 0%, 9.4%)
CIE-LABlab(52.70, 35.68, -60.61)
CIE-LCHlch(52.70, 70.33, 300.49°)
OKLaboklab(60.67% 0.0437 -0.1728)
OKLCHoklch(60.67% 0.178 284.2)
XYZxyz(27.7733, 20.7704, 78.1315)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DE7 #DBE76D
analogous
#6D9EE7 #796DE7 #B66DE7
triadic
#796DE7 #E7796D #6DE779
tetradic
#796DE7 #E76D9E #DBE76D #6DE7B6
square
#796DE7 #E76D9E #DBE76D #6DE7B6
split-complementary
#796DE7 #E7B66D #9EE76D
monochromatic
#2E1FBB #4938DE #796DE7 #A9A2F0 #D9D6F8

Accessibility & contrast

On white

4.07
#796DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#796DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DE7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DE7#FFFFFF#000000##000000
##796DE71.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EB
Deuteranopia (green-blind)
#267AE4
Tritanopia (blue-blind)
#5388A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796de7;
/* rgb */ color: rgb(121, 109, 231);
/* oklch */ color: oklch(60.7% 0.178 284.2);
Tailwind
colors: {
  custom: {
    50: '#a697ef',
    500: '#796de7',
    950: '#000000',
  },
}
SCSS
$custom: #796de7;
$custom-light: #a697ef;
$custom-dark: #000000;
JSON
{
  "hex": "#796de7",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 231
  },
  "hsl": {
    "h": 245.902,
    "s": 71.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.17824,
    "h": 284.2
  },
  "luminance": 0.20772
}

Semantic roles & 50–950 ramp

primary
#796DE7
secondary
#E8ECC4
accent
#D412C1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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