#796CDA#796CDA

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

Color values

HEX#796CDA
RGBrgb(121, 108, 218)
HSLhsl(247, 60%, 64%)
HSVhsv(247, 50%, 85%)
CMYKcmyk(44.5%, 50.5%, 0%, 14.5%)
CIE-LABlab(51.67, 32.48, -54.94)
CIE-LCHlch(51.67, 63.82, 300.59°)
OKLaboklab(59.64% 0.0441 -0.1561)
OKLCHoklch(59.64% 0.162 285.8)
XYZxyz(25.8989, 19.8510, 68.7831)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CDA #CDDA6C
analogous
#6C96DA #796CDA #B06CDA
triadic
#796CDA #DA796C #6CDA79
tetradic
#796CDA #DA6C96 #CDDA6C #6CDAB0
square
#796CDA #DA6C96 #CDDA6C #6CDAB0
split-complementary
#796CDA #DAB06C #96DA6C
monochromatic
#3729A3 #4C3BCE #796CDA #A69DE6 #D2CEF3

Accessibility & contrast

On white

4.23
#796CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##796CDA#FFFFFF#000000##000000
##796CDA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7EDE
Deuteranopia (green-blind)
#3878D8
Tritanopia (blue-blind)
#5A8399
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #796cda;
/* rgb */ color: rgb(121, 108, 218);
/* oklch */ color: oklch(59.6% 0.162 285.8);
Tailwind
colors: {
  custom: {
    50: '#a596e6',
    500: '#796cda',
    950: '#000000',
  },
}
SCSS
$custom: #796cda;
$custom-light: #a596e6;
$custom-dark: #000000;
JSON
{
  "hex": "#796cda",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 247.091,
    "s": 59.783,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59643,
    "c": 0.16223,
    "h": 285.8
  },
  "luminance": 0.19852
}

Semantic roles & 50–950 ramp

primary
#796CDA
secondary
#E0E4BE
accent
#C71EB3
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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