#796EC0#796EC0

#796EC0 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.5% C 0.123 H 288.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#796EC0
RGBrgb(121, 110, 192)
HSLhsl(248, 39%, 59%)
HSVhsv(248, 43%, 75%)
CMYKcmyk(37%, 42.7%, 0%, 24.7%)
CIE-LABlab(50.71, 23.90, -41.63)
CIE-LCHlch(50.71, 48.00, 299.86°)
OKLaboklab(58.45% 0.0383 -0.1172)
OKLCHoklch(58.45% 0.123 288.1)
XYZxyz(22.9729, 19.0219, 52.3202)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EC0 #B5C06E
analogous
#6E8CC0 #796EC0 #A26EC0
triadic
#796EC0 #C0796E #6EC079
tetradic
#796EC0 #C06E8C #B5C06E #6EC0A2
square
#796EC0 #C06E8C #B5C06E #6EC0A2
split-complementary
#796EC0 #C0A26E #8CC06E
monochromatic
#40367D #5649A8 #796EC0 #A099D3 #C8C3E5

Accessibility & contrast

On white

4.37
#796EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#796EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EC0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EC0#FFFFFF#000000##000000
##796EC01.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#527BC3
Deuteranopia (green-blind)
#5277BE
Tritanopia (blue-blind)
#667E8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #796ec0;
/* rgb */ color: rgb(121, 110, 192);
/* oklch */ color: oklch(58.5% 0.123 288.1);
Tailwind
colors: {
  custom: {
    50: '#a297d3',
    500: '#796ec0',
    950: '#000000',
  },
}
SCSS
$custom: #796ec0;
$custom-light: #a297d3;
$custom-dark: #000000;
JSON
{
  "hex": "#796ec0",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 192
  },
  "hsl": {
    "h": 248.049,
    "s": 39.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58454,
    "c": 0.12327,
    "h": 288.1
  },
  "luminance": 0.19023
}

Semantic roles & 50–950 ramp

primary
#796EC0
secondary
#D1D5B5
accent
#CF58BF
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #796EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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