#796EDA#796EDA

#796EDA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.0% C 0.159 H 285.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#796EDA
RGBrgb(121, 110, 218)
HSLhsl(246, 59%, 64%)
HSVhsv(246, 50%, 85%)
CMYKcmyk(44.5%, 49.5%, 0%, 14.5%)
CIE-LABlab(52.15, 31.29, -54.17)
CIE-LCHlch(52.15, 62.56, 300.02°)
OKLaboklab(60% 0.0417 -0.1539)
OKLCHoklch(60% 0.159 285.2)
XYZxyz(26.1123, 20.2777, 68.8542)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EDA #CFDA6E
analogous
#6E99DA #796EDA #AF6EDA
triadic
#796EDA #DA796E #6EDA79
tetradic
#796EDA #DA6E99 #CFDA6E #6EDAAF
square
#796EDA #DA6E99 #CFDA6E #6EDAAF
split-complementary
#796EDA #DAAF6E #99DA6E
monochromatic
#362AA4 #4C3DCE #796EDA #A69FE6 #D3D0F3

Accessibility & contrast

On white

4.15
#796EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#796EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EDA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EDA#FFFFFF#000000##000000
##796EDA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80DE
Deuteranopia (green-blind)
#3C79D8
Tritanopia (blue-blind)
#5A859A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #796eda;
/* rgb */ color: rgb(121, 110, 218);
/* oklch */ color: oklch(60.0% 0.159 285.2);
Tailwind
colors: {
  custom: {
    50: '#a597e6',
    500: '#796eda',
    950: '#000000',
  },
}
SCSS
$custom: #796eda;
$custom-light: #a597e6;
$custom-dark: #000000;
JSON
{
  "hex": "#796eda",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 218
  },
  "hsl": {
    "h": 246.111,
    "s": 59.341,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60004,
    "c": 0.15941,
    "h": 285.2
  },
  "luminance": 0.20279
}

Semantic roles & 50–950 ramp

primary
#796EDA
secondary
#E1E5BF
accent
#C71FB6
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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