#796ED2#796ED2

#796ED2 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.5% C 0.148 H 286.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#796ED2
RGBrgb(121, 110, 210)
HSLhsl(247, 53%, 63%)
HSVhsv(247, 48%, 82%)
CMYKcmyk(42.4%, 47.6%, 0%, 17.6%)
CIE-LABlab(51.69, 28.98, -50.37)
CIE-LCHlch(51.69, 58.11, 299.92°)
OKLaboklab(59.51% 0.0409 -0.1427)
OKLCHoklch(59.51% 0.148 286)
XYZxyz(25.0906, 19.8690, 63.4734)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ED2 #C7D26E
analogous
#6E95D2 #796ED2 #AB6ED2
triadic
#796ED2 #D2796E #6ED279
tetradic
#796ED2 #D26E95 #C7D26E #6ED2AB
square
#796ED2 #D26E95 #C7D26E #6ED2AB
split-complementary
#796ED2 #D2AB6E #95D26E
monochromatic
#3A2F97 #4E3FC4 #796ED2 #A49DE0 #CFCBEF

Accessibility & contrast

On white

4.22
#796ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#796ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796ED2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796ED2#FFFFFF#000000##000000
##796ED21.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ED6
Deuteranopia (green-blind)
#4478D0
Tritanopia (blue-blind)
#5E8396
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #796ed2;
/* rgb */ color: rgb(121, 110, 210);
/* oklch */ color: oklch(59.5% 0.148 286.0);
Tailwind
colors: {
  custom: {
    50: '#a497e0',
    500: '#796ed2',
    950: '#000000',
  },
}
SCSS
$custom: #796ed2;
$custom-light: #a497e0;
$custom-dark: #000000;
JSON
{
  "hex": "#796ed2",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 210
  },
  "hsl": {
    "h": 246.6,
    "s": 52.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59508,
    "c": 0.14846,
    "h": 286
  },
  "luminance": 0.1987
}

Semantic roles & 50–950 ramp

primary
#796ED2
secondary
#DCE0BC
accent
#C025AF
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #796ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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