#796BEE#796BEE

#796BEE is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.8% C 0.190 H 284.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#796BEE
RGBrgb(121, 107, 238)
HSLhsl(246, 79%, 68%)
HSVhsv(246, 55%, 93%)
CMYKcmyk(49.2%, 55%, 0%, 6.7%)
CIE-LABlab(52.68, 38.92, -64.56)
CIE-LCHlch(52.68, 75.39, 301.08°)
OKLaboklab(60.79% 0.0461 -0.1844)
OKLCHoklch(60.79% 0.19 284)
XYZxyz(28.5709, 20.7519, 83.3724)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BEE #E0EE6B
analogous
#6B9FEE #796BEE #BA6BEE
triadic
#796BEE #EE796B #6BEE79
tetradic
#796BEE #EE6B9F #E0EE6B #6BEEBA
square
#796BEE #EE6B9F #E0EE6B #6BEEBA
split-complementary
#796BEE #EEBA6B #9FEE6B
monochromatic
#2A17C8 #4734E8 #796BEE #ABA2F4 #DCD9FB

Accessibility & contrast

On white

4.08
#796BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#796BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BEE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BEE#FFFFFF#000000##000000
##796BEE1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1782F2
Deuteranopia (green-blind)
#067AEB
Tritanopia (blue-blind)
#4E88A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796bee;
/* rgb */ color: rgb(121, 107, 238);
/* oklch */ color: oklch(60.8% 0.190 284.0);
Tailwind
colors: {
  custom: {
    50: '#a796f4',
    500: '#796bee',
    950: '#000000',
  },
}
SCSS
$custom: #796bee;
$custom-light: #a796f4;
$custom-dark: #000000;
JSON
{
  "hex": "#796bee",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 246.412,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60793,
    "c": 0.19011,
    "h": 284
  },
  "luminance": 0.20753
}

Semantic roles & 50–950 ramp

primary
#796BEE
secondary
#EAEFC6
accent
#DC0AC5
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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