#796EE3#796EE3

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

Color values

HEX#796EE3
RGBrgb(121, 110, 227)
HSLhsl(246, 68%, 66%)
HSVhsv(246, 52%, 89%)
CMYKcmyk(46.7%, 51.5%, 0%, 11%)
CIE-LABlab(52.69, 33.92, -58.38)
CIE-LCHlch(52.69, 67.52, 300.16°)
OKLaboklab(60.58% 0.0424 -0.1662)
OKLCHoklch(60.58% 0.172 284.3)
XYZxyz(27.3221, 20.7616, 75.2259)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EE3 #D8E36E
analogous
#6E9DE3 #796EE3 #B36EE3
triadic
#796EE3 #E3796E #6EE379
tetradic
#796EE3 #E36E9D #D8E36E #6EE3B3
square
#796EE3 #E36E9D #D8E36E #6EE3B3
split-complementary
#796EE3 #E3B36E #9DE36E
monochromatic
#3023B4 #4A3BD9 #796EE3 #A8A1ED #D8D5F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796EE3#FFFFFF#000000##000000
##796EE31.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)
#3581E7
Deuteranopia (green-blind)
#307AE0
Tritanopia (blue-blind)
#55879E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796ee3;
/* rgb */ color: rgb(121, 110, 227);
/* oklch */ color: oklch(60.6% 0.172 284.3);
Tailwind
colors: {
  custom: {
    50: '#a698ec',
    500: '#796ee3',
    950: '#000000',
  },
}
SCSS
$custom: #796ee3;
$custom-light: #a698ec;
$custom-dark: #000000;
JSON
{
  "hex": "#796ee3",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 227
  },
  "hsl": {
    "h": 245.641,
    "s": 67.63,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6058,
    "c": 0.17155,
    "h": 284.3
  },
  "luminance": 0.20763
}

Semantic roles & 50–950 ramp

primary
#796EE3
secondary
#E6EAC3
accent
#D016BE
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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