#796EE0#796EE0

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

Color values

HEX#796EE0
RGBrgb(121, 110, 224)
HSLhsl(246, 65%, 65%)
HSVhsv(246, 51%, 88%)
CMYKcmyk(46%, 50.9%, 0%, 12.2%)
CIE-LABlab(52.51, 33.04, -56.98)
CIE-LCHlch(52.51, 65.87, 300.11°)
OKLaboklab(60.39% 0.0422 -0.1621)
OKLCHoklch(60.39% 0.168 284.6)
XYZxyz(26.9117, 20.5974, 73.0643)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EE0 #D5E06E
analogous
#6E9CE0 #796EE0 #B26EE0
triadic
#796EE0 #E0796E #6EE079
tetradic
#796EE0 #E06E9C #D5E06E #6EE0B2
square
#796EE0 #E06E9C #D5E06E #6EE0B2
split-complementary
#796EE0 #E0B26E #9CE06E
monochromatic
#3225AE #4A3CD5 #796EE0 #A8A0EB #D6D3F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796EE0#FFFFFF#000000##000000
##796EE01.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)
#3981E4
Deuteranopia (green-blind)
#347ADD
Tritanopia (blue-blind)
#57869D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #796ee0;
/* rgb */ color: rgb(121, 110, 224);
/* oklch */ color: oklch(60.4% 0.168 284.6);
Tailwind
colors: {
  custom: {
    50: '#a697ea',
    500: '#796ee0',
    950: '#000000',
  },
}
SCSS
$custom: #796ee0;
$custom-light: #a697ea;
$custom-dark: #000000;
JSON
{
  "hex": "#796ee0",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 224
  },
  "hsl": {
    "h": 245.789,
    "s": 64.773,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60385,
    "c": 0.16752,
    "h": 284.6
  },
  "luminance": 0.20599
}

Semantic roles & 50–950 ramp

primary
#796EE0
secondary
#E4E8C2
accent
#CD19BB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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