#796CDD#796CDD

#796CDD is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.8% C 0.166 H 285.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#796CDD
RGBrgb(121, 108, 221)
HSLhsl(247, 62%, 65%)
HSVhsv(247, 51%, 87%)
CMYKcmyk(45.2%, 51.1%, 0%, 13.3%)
CIE-LABlab(51.85, 33.35, -56.35)
CIE-LCHlch(51.85, 65.48, 300.62°)
OKLaboklab(59.84% 0.0443 -0.1603)
OKLCHoklch(59.84% 0.166 285.4)
XYZxyz(26.2951, 20.0094, 70.8693)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CDD #D0DD6C
analogous
#6C97DD #796CDD #B26CDD
triadic
#796CDD #DD796C #6CDD79
tetradic
#796CDD #DD6C97 #D0DD6C #6CDDB2
square
#796CDD #DD6C97 #D0DD6C #6CDDB2
split-complementary
#796CDD #DDB26C #97DD6C
monochromatic
#3627A8 #4C3AD2 #796CDD #A69EE8 #D4CFF4

Accessibility & contrast

On white

4.20
#796CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#796CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CDD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CDD#FFFFFF#000000##000000
##796CDD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE1
Deuteranopia (green-blind)
#3478DB
Tritanopia (blue-blind)
#59849A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #796cdd;
/* rgb */ color: rgb(121, 108, 221);
/* oklch */ color: oklch(59.8% 0.166 285.4);
Tailwind
colors: {
  custom: {
    50: '#a596e8',
    500: '#796cdd',
    950: '#000000',
  },
}
SCSS
$custom: #796cdd;
$custom-light: #a596e8;
$custom-dark: #000000;
JSON
{
  "hex": "#796cdd",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 221
  },
  "hsl": {
    "h": 246.903,
    "s": 62.431,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59835,
    "c": 0.16628,
    "h": 285.4
  },
  "luminance": 0.20011
}

Semantic roles & 50–950 ramp

primary
#796CDD
secondary
#E1E6BF
accent
#CA1BB6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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