#796DFA#796DFA

#796DFA is a mid, highly saturated blue. Relative luminance 0.219; OKLCH L 62.0% C 0.203 H 282.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#796DFA
RGBrgb(121, 109, 250)
HSLhsl(245, 93%, 70%)
HSVhsv(245, 56%, 98%)
CMYKcmyk(51.6%, 56.4%, 0%, 2%)
CIE-LABlab(53.92, 41.31, -69.23)
CIE-LCHlch(53.92, 80.62, 300.82°)
OKLaboklab(61.97% 0.0441 -0.1981)
OKLCHoklch(61.97% 0.203 282.6)
XYZxyz(30.6039, 21.9026, 93.0390)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DFA #EEFA6D
analogous
#6DA8FA #796DFA #BF6DFA
triadic
#796DFA #FA796D #6DFA79
tetradic
#796DFA #FA6DA8 #EEFA6D #6DFABF
square
#796DFA #FA6DA8 #EEFA6D #6DFABF
split-complementary
#796DFA #FABF6D #A8FA6D
monochromatic
#1B08E5 #4332F8 #796DFA #AFA8FC #E4E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796DFA#FFFFFF#000000##000000
##796DFA1.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)
#0086FF
Deuteranopia (green-blind)
#007CF7
Tritanopia (blue-blind)
#448EA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796dfa;
/* rgb */ color: rgb(121, 109, 250);
/* oklch */ color: oklch(62.0% 0.203 282.6);
Tailwind
colors: {
  custom: {
    50: '#a997fd',
    500: '#796dfa',
    950: '#000000',
  },
}
SCSS
$custom: #796dfa;
$custom-light: #a997fd;
$custom-dark: #000000;
JSON
{
  "hex": "#796dfa",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 245.106,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61968,
    "c": 0.20301,
    "h": 282.6
  },
  "luminance": 0.21904
}

Semantic roles & 50–950 ramp

primary
#796DFA
secondary
#F1F5CE
accent
#E600D2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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