#796BDA#796BDA

#796BDA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.5% C 0.164 H 286.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#796BDA
RGBrgb(121, 107, 218)
HSLhsl(248, 60%, 64%)
HSVhsv(248, 51%, 85%)
CMYKcmyk(44.5%, 50.9%, 0%, 14.5%)
CIE-LABlab(51.43, 33.07, -55.32)
CIE-LCHlch(51.43, 64.45, 300.87°)
OKLaboklab(59.46% 0.0453 -0.1573)
OKLCHoklch(59.46% 0.164 286.1)
XYZxyz(25.7941, 19.6412, 68.7481)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BDA #CCDA6B
analogous
#6B94DA #796BDA #B06BDA
triadic
#796BDA #DA796B #6BDA79
tetradic
#796BDA #DA6B94 #CCDA6B #6BDAB0
square
#796BDA #DA6B94 #CCDA6B #6BDAB0
split-complementary
#796BDA #DAB06B #94DA6B
monochromatic
#3829A2 #4D3ACE #796BDA #A59CE6 #D2CDF2

Accessibility & contrast

On white

4.26
#796BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#796BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BDA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BDA#FFFFFF#000000##000000
##796BDA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDE
Deuteranopia (green-blind)
#3677D8
Tritanopia (blue-blind)
#5B8398
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #796bda;
/* rgb */ color: rgb(121, 107, 218);
/* oklch */ color: oklch(59.5% 0.164 286.1);
Tailwind
colors: {
  custom: {
    50: '#a595e6',
    500: '#796bda',
    950: '#000000',
  },
}
SCSS
$custom: #796bda;
$custom-light: #a595e6;
$custom-dark: #000000;
JSON
{
  "hex": "#796bda",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 218
  },
  "hsl": {
    "h": 247.568,
    "s": 60,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59464,
    "c": 0.16364,
    "h": 286.1
  },
  "luminance": 0.19642
}

Semantic roles & 50–950 ramp

primary
#796BDA
secondary
#DFE4BD
accent
#C81EB2
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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