#796EDD#796EDD

#796EDD is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.2% C 0.163 H 284.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#796EDD
RGBrgb(121, 110, 221)
HSLhsl(246, 62%, 65%)
HSVhsv(246, 50%, 87%)
CMYKcmyk(45.2%, 50.2%, 0%, 13.3%)
CIE-LABlab(52.33, 32.17, -55.58)
CIE-LCHlch(52.33, 64.22, 300.06°)
OKLaboklab(60.19% 0.0419 -0.158)
OKLCHoklch(60.19% 0.163 284.9)
XYZxyz(26.5084, 20.4361, 70.9404)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EDD #D2DD6E
analogous
#6E9BDD #796EDD #B16EDD
triadic
#796EDD #DD796E #6EDD79
tetradic
#796EDD #DD6E9B #D2DD6E #6EDDB1
square
#796EDD #DD6E9B #D2DD6E #6EDDB1
split-complementary
#796EDD #DDB16E #9BDD6E
monochromatic
#3428A9 #4B3CD1 #796EDD #A7A0E9 #D5D1F4

Accessibility & contrast

On white

4.13
#796EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#796EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EDD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EDD#FFFFFF#000000##000000
##796EDD1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E1
Deuteranopia (green-blind)
#3879DB
Tritanopia (blue-blind)
#59869B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #796edd;
/* rgb */ color: rgb(121, 110, 221);
/* oklch */ color: oklch(60.2% 0.163 284.9);
Tailwind
colors: {
  custom: {
    50: '#a597e8',
    500: '#796edd',
    950: '#000000',
  },
}
SCSS
$custom: #796edd;
$custom-light: #a597e8;
$custom-dark: #000000;
JSON
{
  "hex": "#796edd",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 221
  },
  "hsl": {
    "h": 245.946,
    "s": 62.011,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60193,
    "c": 0.16348,
    "h": 284.9
  },
  "luminance": 0.20437
}

Semantic roles & 50–950 ramp

primary
#796EDD
secondary
#E3E6C0
accent
#CA1CB9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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