#796AF3#796AF3

#796AF3 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 61.0% C 0.198 H 283.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#796AF3
RGBrgb(121, 106, 243)
HSLhsl(247, 85%, 68%)
HSVhsv(247, 56%, 95%)
CMYKcmyk(50.2%, 56.4%, 0%, 4.7%)
CIE-LABlab(52.78, 40.97, -67.19)
CIE-LCHlch(52.78, 78.70, 301.37°)
OKLaboklab(60.97% 0.0473 -0.1922)
OKLCHoklch(60.97% 0.198 283.8)
XYZxyz(29.2120, 20.8425, 87.2604)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AF3 #E4F36A
analogous
#6A9FF3 #796AF3 #BD6AF3
triadic
#796AF3 #F3796A #6AF379
tetradic
#796AF3 #F36A9F #E4F36A #6AF3BD
square
#796AF3 #F36A9F #E4F36A #6AF3BD
split-complementary
#796AF3 #F3BD6A #9FF36A
monochromatic
#2611D2 #4631EE #796AF3 #ACA3F8 #DFDBFC

Accessibility & contrast

On white

4.06
#796AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#796AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AF3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AF3#FFFFFF#000000##000000
##796AF31.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#4A89A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796af3;
/* rgb */ color: rgb(121, 106, 243);
/* oklch */ color: oklch(61.0% 0.198 283.8);
Tailwind
colors: {
  custom: {
    50: '#a895f8',
    500: '#796af3',
    950: '#000000',
  },
}
SCSS
$custom: #796af3;
$custom-light: #a895f8;
$custom-dark: #000000;
JSON
{
  "hex": "#796af3",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 243
  },
  "hsl": {
    "h": 246.569,
    "s": 85.093,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60971,
    "c": 0.19789,
    "h": 283.8
  },
  "luminance": 0.20844
}

Semantic roles & 50–950 ramp

primary
#796AF3
secondary
#ECF1C8
accent
#E204C9
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #796AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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