#796EDF#796EDF

#796EDF is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.3% C 0.166 H 284.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#796EDF
RGBrgb(121, 110, 223)
HSLhsl(246, 64%, 65%)
HSVhsv(246, 51%, 87%)
CMYKcmyk(45.7%, 50.7%, 0%, 12.5%)
CIE-LABlab(52.45, 32.75, -56.52)
CIE-LCHlch(52.45, 65.32, 300.09°)
OKLaboklab(60.32% 0.0421 -0.1608)
OKLCHoklch(60.32% 0.166 284.7)
XYZxyz(26.7765, 20.5433, 72.3521)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EDF #D4DF6E
analogous
#6E9BDF #796EDF #B26EDF
triadic
#796EDF #DF796E #6EDF79
tetradic
#796EDF #DF6E9B #D4DF6E #6EDFB2
square
#796EDF #DF6E9B #D4DF6E #6EDFB2
split-complementary
#796EDF #DFB26E #9BDF6E
monochromatic
#3326AD #4B3CD4 #796EDF #A7A0EA #D6D2F5

Accessibility & contrast

On white

4.11
#796EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#796EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EDF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EDF#FFFFFF#000000##000000
##796EDF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A81E3
Deuteranopia (green-blind)
#357ADD
Tritanopia (blue-blind)
#57869C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #796edf;
/* rgb */ color: rgb(121, 110, 223);
/* oklch */ color: oklch(60.3% 0.166 284.7);
Tailwind
colors: {
  custom: {
    50: '#a597ea',
    500: '#796edf',
    950: '#000000',
  },
}
SCSS
$custom: #796edf;
$custom-light: #a597ea;
$custom-dark: #000000;
JSON
{
  "hex": "#796edf",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 223
  },
  "hsl": {
    "h": 245.841,
    "s": 63.842,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60321,
    "c": 0.16618,
    "h": 284.7
  },
  "luminance": 0.20545
}

Semantic roles & 50–950 ramp

primary
#796EDF
secondary
#E4E7C1
accent
#CC1ABA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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