#796BF3#796BF3

#796BF3 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.1% C 0.197 H 283.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#796BF3
RGBrgb(121, 107, 243)
HSLhsl(246, 85%, 69%)
HSVhsv(246, 56%, 95%)
CMYKcmyk(50.2%, 56%, 0%, 4.7%)
CIE-LABlab(53.00, 40.39, -66.82)
CIE-LCHlch(53.00, 78.08, 301.15°)
OKLaboklab(61.14% 0.0462 -0.1911)
OKLCHoklch(61.14% 0.197 283.6)
XYZxyz(29.3156, 21.0499, 87.2950)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BF3 #E5F36B
analogous
#6BA1F3 #796BF3 #BD6BF3
triadic
#796BF3 #F3796B #6BF379
tetradic
#796BF3 #F36BA1 #E5F36B #6BF3BD
square
#796BF3 #F36BA1 #E5F36B #6BF3BD
split-complementary
#796BF3 #F3BD6B #A1F36B
monochromatic
#2511D3 #4632EE #796BF3 #ACA4F8 #E0DCFC

Accessibility & contrast

On white

4.03
#796BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#796BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BF3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BF3#FFFFFF#000000##000000
##796BF31.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0183F8
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#4A8AA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796bf3;
/* rgb */ color: rgb(121, 107, 243);
/* oklch */ color: oklch(61.1% 0.197 283.6);
Tailwind
colors: {
  custom: {
    50: '#a896f8',
    500: '#796bf3',
    950: '#000000',
  },
}
SCSS
$custom: #796bf3;
$custom-light: #a896f8;
$custom-dark: #000000;
JSON
{
  "hex": "#796bf3",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 243
  },
  "hsl": {
    "h": 246.176,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61139,
    "c": 0.1966,
    "h": 283.6
  },
  "luminance": 0.21051
}

Semantic roles & 50–950 ramp

primary
#796BF3
secondary
#EDF1C9
accent
#E104CB
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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