#796EBE#796EBE

#796EBE is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.120 H 288.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#796EBE
RGBrgb(121, 110, 190)
HSLhsl(248, 38%, 59%)
HSVhsv(248, 42%, 75%)
CMYKcmyk(36.3%, 42.1%, 0%, 25.5%)
CIE-LABlab(50.61, 23.35, -40.64)
CIE-LCHlch(50.61, 46.87, 299.88°)
OKLaboklab(58.34% 0.038 -0.1143)
OKLCHoklch(58.34% 0.12 288.4)
XYZxyz(22.7528, 18.9339, 51.1610)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EBE #B3BE6E
analogous
#6E8BBE #796EBE #A16EBE
triadic
#796EBE #BE796E #6EBE79
tetradic
#796EBE #BE6E8B #B3BE6E #6EBEA1
square
#796EBE #BE6E8B #B3BE6E #6EBEA1
split-complementary
#796EBE #BEA16E #8BBE6E
monochromatic
#40377B #564AA5 #796EBE #A098D1 #C7C3E4

Accessibility & contrast

On white

4.39
#796EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#796EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EBE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EBE#FFFFFF#000000##000000
##796EBE1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#547AC1
Deuteranopia (green-blind)
#5377BC
Tritanopia (blue-blind)
#677D8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #796ebe;
/* rgb */ color: rgb(121, 110, 190);
/* oklch */ color: oklch(58.3% 0.120 288.4);
Tailwind
colors: {
  custom: {
    50: '#a297d2',
    500: '#796ebe',
    950: '#000000',
  },
}
SCSS
$custom: #796ebe;
$custom-light: #a297d2;
$custom-dark: #000000;
JSON
{
  "hex": "#796ebe",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 190
  },
  "hsl": {
    "h": 248.25,
    "s": 38.095,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58342,
    "c": 0.12043,
    "h": 288.4
  },
  "luminance": 0.18935
}

Semantic roles & 50–950 ramp

primary
#796EBE
secondary
#CFD4B4
accent
#CE5ABE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #796EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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