#796FF3#796FF3

#796FF3 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.8% C 0.191 H 282.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#796FF3
RGBrgb(121, 111, 243)
HSLhsl(245, 85%, 69%)
HSVhsv(245, 54%, 95%)
CMYKcmyk(50.2%, 54.3%, 0%, 4.7%)
CIE-LABlab(53.92, 38.06, -65.34)
CIE-LCHlch(53.92, 75.61, 300.22°)
OKLaboklab(61.82% 0.042 -0.1867)
OKLCHoklch(61.82% 0.191 282.7)
XYZxyz(29.7424, 21.9033, 87.4372)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FF3 #E9F36F
analogous
#6FA7F3 #796FF3 #BB6FF3
triadic
#796FF3 #F3796F #6FF379
tetradic
#796FF3 #F36FA7 #E9F36F #6FF3BB
square
#796FF3 #F36FA7 #E9F36F #6FF3BB
split-complementary
#796FF3 #F3BB6F #A7F36F
monochromatic
#2112D6 #4437EE #796FF3 #AEA7F8 #E2E0FC

Accessibility & contrast

On white

3.90
#796FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#796FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FF3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FF3#FFFFFF#000000##000000
##796FF31.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E85F8
Deuteranopia (green-blind)
#097CF0
Tritanopia (blue-blind)
#4A8DA6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796ff3;
/* rgb */ color: rgb(121, 111, 243);
/* oklch */ color: oklch(61.8% 0.191 282.7);
Tailwind
colors: {
  custom: {
    50: '#a898f8',
    500: '#796ff3',
    950: '#000000',
  },
}
SCSS
$custom: #796ff3;
$custom-light: #a898f8;
$custom-dark: #000000;
JSON
{
  "hex": "#796ff3",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 243
  },
  "hsl": {
    "h": 244.545,
    "s": 84.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61822,
    "c": 0.19135,
    "h": 282.7
  },
  "luminance": 0.21905
}

Semantic roles & 50–950 ramp

primary
#796FF3
secondary
#EFF2CC
accent
#E104D0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #796FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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