#796BFA#796BFA

#796BFA is a mid, highly saturated blue. Relative luminance 0.215; OKLCH L 61.6% C 0.206 H 283.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#796BFA
RGBrgb(121, 107, 250)
HSLhsl(246, 93%, 70%)
HSVhsv(246, 57%, 98%)
CMYKcmyk(51.6%, 57.2%, 0%, 2%)
CIE-LABlab(53.47, 42.47, -69.96)
CIE-LCHlch(53.47, 81.84, 301.26°)
OKLaboklab(61.63% 0.0462 -0.2003)
OKLCHoklch(61.63% 0.206 283)
XYZxyz(30.3929, 21.4808, 92.9687)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BFA #ECFA6B
analogous
#6BA5FA #796BFA #C06BFA
triadic
#796BFA #FA796B #6BFA79
tetradic
#796BFA #FA6BA5 #ECFA6B #6BFAC0
square
#796BFA #FA6BA5 #ECFA6B #6BFAC0
split-complementary
#796BFA #FAC06B #A5FA6B
monochromatic
#1D08E3 #4330F8 #796BFA #AFA6FC #E4E1FE

Accessibility & contrast

On white

3.96
#796BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#796BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BFA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BFA#FFFFFF#000000##000000
##796BFA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007BF7
Tritanopia (blue-blind)
#448CA8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796bfa;
/* rgb */ color: rgb(121, 107, 250);
/* oklch */ color: oklch(61.6% 0.206 283.0);
Tailwind
colors: {
  custom: {
    50: '#a996fd',
    500: '#796bfa',
    950: '#000000',
  },
}
SCSS
$custom: #796bfa;
$custom-light: #a996fd;
$custom-dark: #000000;
JSON
{
  "hex": "#796bfa",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 250
  },
  "hsl": {
    "h": 245.874,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.61634,
    "c": 0.20556,
    "h": 283
  },
  "luminance": 0.21482
}

Semantic roles & 50–950 ramp

primary
#796BFA
secondary
#F1F4CC
accent
#E600CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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