#796CDE#796CDE

#796CDE is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.9% C 0.168 H 285.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#796CDE
RGBrgb(121, 108, 222)
HSLhsl(247, 63%, 65%)
HSVhsv(247, 51%, 87%)
CMYKcmyk(45.5%, 51.4%, 0%, 12.9%)
CIE-LABlab(51.91, 33.64, -56.81)
CIE-LCHlch(51.91, 66.03, 300.63°)
OKLaboklab(59.9% 0.0444 -0.1616)
OKLCHoklch(59.9% 0.168 285.3)
XYZxyz(26.4287, 20.0628, 71.5731)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CDE #D1DE6C
analogous
#6C98DE #796CDE #B26CDE
triadic
#796CDE #DE796C #6CDE79
tetradic
#796CDE #DE6C98 #D1DE6C #6CDEB2
square
#796CDE #DE6C98 #D1DE6C #6CDEB2
split-complementary
#796CDE #DEB26C #98DE6C
monochromatic
#3526AA #4B3AD3 #796CDE #A79EE9 #D4D0F4

Accessibility & contrast

On white

4.19
#796CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#796CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CDE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CDE#FFFFFF#000000##000000
##796CDE1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE2
Deuteranopia (green-blind)
#3378DB
Tritanopia (blue-blind)
#58849B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #796cde;
/* rgb */ color: rgb(121, 108, 222);
/* oklch */ color: oklch(59.9% 0.168 285.3);
Tailwind
colors: {
  custom: {
    50: '#a596e9',
    500: '#796cde',
    950: '#000000',
  },
}
SCSS
$custom: #796cde;
$custom-light: #a596e9;
$custom-dark: #000000;
JSON
{
  "hex": "#796cde",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 222
  },
  "hsl": {
    "h": 246.842,
    "s": 63.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59899,
    "c": 0.16762,
    "h": 285.3
  },
  "luminance": 0.20064
}

Semantic roles & 50–950 ramp

primary
#796CDE
secondary
#E2E6BF
accent
#CB1AB7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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