#796FDA#796FDA

#796FDA is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.2% C 0.158 H 284.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#796FDA
RGBrgb(121, 111, 218)
HSLhsl(246, 59%, 65%)
HSVhsv(246, 49%, 85%)
CMYKcmyk(44.5%, 49.1%, 0%, 14.5%)
CIE-LABlab(52.39, 30.70, -53.78)
CIE-LCHlch(52.39, 61.92, 299.72°)
OKLaboklab(60.19% 0.0405 -0.1527)
OKLCHoklch(60.19% 0.158 284.8)
XYZxyz(26.2208, 20.4947, 68.8904)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FDA #D0DA6F
analogous
#6F9BDA #796FDA #AE6FDA
triadic
#796FDA #DA796F #6FDA79
tetradic
#796FDA #DA6F9B #D0DA6F #6FDAAE
square
#796FDA #DA6F9B #D0DA6F #6FDAAE
split-complementary
#796FDA #DAAE6F #9BDA6F
monochromatic
#362AA4 #4C3ECD #796FDA #A6A0E7 #D4D0F3

Accessibility & contrast

On white

4.12
#796FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#796FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FDA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FDA#FFFFFF#000000##000000
##796FDA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4180DE
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#5A859A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #796fda;
/* rgb */ color: rgb(121, 111, 218);
/* oklch */ color: oklch(60.2% 0.158 284.8);
Tailwind
colors: {
  custom: {
    50: '#a598e6',
    500: '#796fda',
    950: '#000000',
  },
}
SCSS
$custom: #796fda;
$custom-light: #a598e6;
$custom-dark: #000000;
JSON
{
  "hex": "#796fda",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 218
  },
  "hsl": {
    "h": 245.607,
    "s": 59.116,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.15799,
    "h": 284.8
  },
  "luminance": 0.20496
}

Semantic roles & 50–950 ramp

primary
#796FDA
secondary
#E1E5C0
accent
#C71FB7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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