#796EB7#796EB7

#796EB7 is a mid, moderate blue. Relative luminance 0.186; OKLCH L 58.0% C 0.110 H 289.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#796EB7
RGBrgb(121, 110, 183)
HSLhsl(249, 34%, 57%)
HSVhsv(249, 40%, 72%)
CMYKcmyk(33.9%, 39.9%, 0%, 28.2%)
CIE-LABlab(50.26, 21.43, -37.16)
CIE-LCHlch(50.26, 42.89, 299.97°)
OKLaboklab(57.96% 0.0367 -0.1041)
OKLCHoklch(57.96% 0.11 289.4)
XYZxyz(22.0061, 18.6352, 47.2281)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EB7 #ACB76E
analogous
#6E88B7 #796EB7 #9E6EB7
triadic
#796EB7 #B7796E #6EB779
tetradic
#796EB7 #B76E88 #ACB76E #6EB79E
square
#796EB7 #B76E88 #ACB76E #6EB79E
split-complementary
#796EB7 #B79E6E #88B76E
monochromatic
#413972 #594D9B #796EB7 #9F97CB #C5C0E0

Accessibility & contrast

On white

4.44
#796EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#796EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EB7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EB7#FFFFFF#000000##000000
##796EB71.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5779BA
Deuteranopia (green-blind)
#5876B5
Tritanopia (blue-blind)
#6A7C8A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #796eb7;
/* rgb */ color: rgb(121, 110, 183);
/* oklch */ color: oklch(58.0% 0.110 289.4);
Tailwind
colors: {
  custom: {
    50: '#a297cd',
    500: '#796eb7',
    950: '#000000',
  },
}
SCSS
$custom: #796eb7;
$custom-light: #a297cd;
$custom-dark: #000000;
JSON
{
  "hex": "#796eb7",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 183
  },
  "hsl": {
    "h": 249.041,
    "s": 33.641,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57959,
    "c": 0.11041,
    "h": 289.4
  },
  "luminance": 0.18636
}

Semantic roles & 50–950 ramp

primary
#796EB7
secondary
#CBCFB2
accent
#CA5EBA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #796EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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