#796BED#796BED

#796BED is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.7% C 0.189 H 284.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#796BED
RGBrgb(121, 107, 237)
HSLhsl(246, 78%, 67%)
HSVhsv(246, 55%, 93%)
CMYKcmyk(48.9%, 54.9%, 0%, 7.1%)
CIE-LABlab(52.61, 38.62, -64.11)
CIE-LCHlch(52.61, 74.84, 301.07°)
OKLaboklab(60.72% 0.0461 -0.1831)
OKLCHoklch(60.72% 0.189 284.1)
XYZxyz(28.4243, 20.6933, 82.6008)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BED #DFED6B
analogous
#6B9EED #796BED #BA6BED
triadic
#796BED #ED796B #6BED79
tetradic
#796BED #ED6B9E #DFED6B #6BEDBA
square
#796BED #ED6B9E #DFED6B #6BEDBA
split-complementary
#796BED #EDBA6B #9EED6B
monochromatic
#2B18C6 #4834E6 #796BED #AAA2F4 #DCD8FA

Accessibility & contrast

On white

4.09
#796BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#796BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BED
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BED#FFFFFF#000000##000000
##796BED1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A82F1
Deuteranopia (green-blind)
#0C79EA
Tritanopia (blue-blind)
#4F88A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796bed;
/* rgb */ color: rgb(121, 107, 237);
/* oklch */ color: oklch(60.7% 0.189 284.1);
Tailwind
colors: {
  custom: {
    50: '#a796f4',
    500: '#796bed',
    950: '#000000',
  },
}
SCSS
$custom: #796bed;
$custom-light: #a796f4;
$custom-dark: #000000;
JSON
{
  "hex": "#796bed",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 246.462,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60724,
    "c": 0.18882,
    "h": 284.1
  },
  "luminance": 0.20695
}

Semantic roles & 50–950 ramp

primary
#796BED
secondary
#EAEEC6
accent
#DB0BC4
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796BED

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

Preview Lab → · Contrast checker → · Palette generator →

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