#796DF3#796DF3

#796DF3 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.5% C 0.194 H 283.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#796DF3
RGBrgb(121, 109, 243)
HSLhsl(245, 85%, 69%)
HSVhsv(245, 55%, 95%)
CMYKcmyk(50.2%, 55.1%, 0%, 4.7%)
CIE-LABlab(53.46, 39.23, -66.09)
CIE-LCHlch(53.46, 76.85, 300.69°)
OKLaboklab(61.48% 0.0441 -0.1889)
OKLCHoklch(61.48% 0.194 283.1)
XYZxyz(29.5266, 21.4717, 87.3653)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DF3 #E7F36D
analogous
#6DA4F3 #796DF3 #BC6DF3
triadic
#796DF3 #F3796D #6DF379
tetradic
#796DF3 #F36DA4 #E7F36D #6DF3BC
square
#796DF3 #F36DA4 #E7F36D #6DF3BC
split-complementary
#796DF3 #F3BC6D #A4F36D
monochromatic
#2311D4 #4534EE #796DF3 #ADA6F8 #E1DEFC

Accessibility & contrast

On white

3.97
#796DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#796DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DF3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DF3#FFFFFF#000000##000000
##796DF31.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1384F8
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#4A8BA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796df3;
/* rgb */ color: rgb(121, 109, 243);
/* oklch */ color: oklch(61.5% 0.194 283.1);
Tailwind
colors: {
  custom: {
    50: '#a897f8',
    500: '#796df3',
    950: '#000000',
  },
}
SCSS
$custom: #796df3;
$custom-light: #a897f8;
$custom-dark: #000000;
JSON
{
  "hex": "#796df3",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 243
  },
  "hsl": {
    "h": 245.373,
    "s": 84.81,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61479,
    "c": 0.19398,
    "h": 283.1
  },
  "luminance": 0.21473
}

Semantic roles & 50–950 ramp

primary
#796DF3
secondary
#EEF2CA
accent
#E104CD
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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