#796FBD#796FBD

#796FBD is a mid, moderate blue. Relative luminance 0.191; OKLCH L 58.5% C 0.117 H 288.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#796FBD
RGBrgb(121, 111, 189)
HSLhsl(248, 37%, 59%)
HSVhsv(248, 41%, 74%)
CMYKcmyk(36%, 41.3%, 0%, 25.9%)
CIE-LABlab(50.81, 22.47, -39.75)
CIE-LCHlch(50.81, 45.66, 299.48°)
OKLaboklab(58.48% 0.0365 -0.1117)
OKLCHoklch(58.48% 0.117 288.1)
XYZxyz(22.7524, 19.1073, 50.6236)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FBD #B3BD6F
analogous
#6F8CBD #796FBD #A06FBD
triadic
#796FBD #BD796F #6FBD79
tetradic
#796FBD #BD6F8C #B3BD6F #6FBDA0
square
#796FBD #BD6F8C #B3BD6F #6FBDA0
split-complementary
#796FBD #BDA06F #8CBD6F
monochromatic
#40387A #564BA4 #796FBD #A099D0 #C7C3E3

Accessibility & contrast

On white

4.36
#796FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#796FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FBD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FBD#FFFFFF#000000##000000
##796FBD1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#567BC0
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#677E8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #796fbd;
/* rgb */ color: rgb(121, 111, 189);
/* oklch */ color: oklch(58.5% 0.117 288.1);
Tailwind
colors: {
  custom: {
    50: '#a298d1',
    500: '#796fbd',
    950: '#000000',
  },
}
SCSS
$custom: #796fbd;
$custom-light: #a298d1;
$custom-dark: #000000;
JSON
{
  "hex": "#796fbd",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 189
  },
  "hsl": {
    "h": 247.692,
    "s": 37.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58479,
    "c": 0.11746,
    "h": 288.1
  },
  "luminance": 0.19108
}

Semantic roles & 50–950 ramp

primary
#796FBD
secondary
#CFD3B5
accent
#CD5BBE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #796FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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