#796FC0#796FC0

#796FC0 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.6% C 0.122 H 287.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#796FC0
RGBrgb(121, 111, 192)
HSLhsl(247, 39%, 59%)
HSVhsv(247, 42%, 75%)
CMYKcmyk(37%, 42.2%, 0%, 24.7%)
CIE-LABlab(50.97, 23.30, -41.23)
CIE-LCHlch(50.97, 47.36, 299.47°)
OKLaboklab(58.65% 0.037 -0.116)
OKLCHoklch(58.65% 0.122 287.7)
XYZxyz(23.0814, 19.2389, 52.3563)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FC0 #B6C06F
analogous
#6F8EC0 #796FC0 #A16FC0
triadic
#796FC0 #C0796F #6FC079
tetradic
#796FC0 #C06F8E #B6C06F #6FC0A1
square
#796FC0 #C06F8E #B6C06F #6FC0A1
split-complementary
#796FC0 #C0A16F #8EC06F
monochromatic
#40377E #554AA8 #796FC0 #A19AD3 #C8C4E5

Accessibility & contrast

On white

4.33
#796FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#796FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FC0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FC0#FFFFFF#000000##000000
##796FC01.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#547BC3
Deuteranopia (green-blind)
#5377BE
Tritanopia (blue-blind)
#667F8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #796fc0;
/* rgb */ color: rgb(121, 111, 192);
/* oklch */ color: oklch(58.6% 0.122 287.7);
Tailwind
colors: {
  custom: {
    50: '#a298d3',
    500: '#796fc0',
    950: '#000000',
  },
}
SCSS
$custom: #796fc0;
$custom-light: #a298d3;
$custom-dark: #000000;
JSON
{
  "hex": "#796fc0",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 192
  },
  "hsl": {
    "h": 247.407,
    "s": 39.13,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58645,
    "c": 0.12175,
    "h": 287.7
  },
  "luminance": 0.1924
}

Semantic roles & 50–950 ramp

primary
#796FC0
secondary
#D1D5B6
accent
#CF59C0
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #796FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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