#796EFA#796EFA

#796EFA is a light, highly saturated blue. Relative luminance 0.221; OKLCH L 62.1% C 0.202 H 282.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#796EFA
RGBrgb(121, 110, 250)
HSLhsl(245, 93%, 71%)
HSVhsv(245, 56%, 98%)
CMYKcmyk(51.6%, 56%, 0%, 2%)
CIE-LABlab(54.15, 40.73, -68.86)
CIE-LCHlch(54.15, 80.00, 300.60°)
OKLaboklab(62.14% 0.0431 -0.1971)
OKLCHoklch(62.14% 0.202 282.3)
XYZxyz(30.7111, 22.1172, 93.0747)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EFA #EFFA6E
analogous
#6EA9FA #796EFA #BF6EFA
triadic
#796EFA #FA796E #6EFA79
tetradic
#796EFA #FA6EA9 #EFFA6E #6EFABF
square
#796EFA #FA6EA9 #EFFA6E #6EFABF
split-complementary
#796EFA #FABF6E #A9FA6E
monochromatic
#1908E6 #4233F8 #796EFA #B0A9FC #E4E1FE

Accessibility & contrast

On white

3.87
#796EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#796EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EFA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EFA#FFFFFF#000000##000000
##796EFA1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007DF7
Tritanopia (blue-blind)
#448EA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796efa;
/* rgb */ color: rgb(121, 110, 250);
/* oklch */ color: oklch(62.1% 0.202 282.3);
Tailwind
colors: {
  custom: {
    50: '#a998fd',
    500: '#796efa',
    950: '#000000',
  },
}
SCSS
$custom: #796efa;
$custom-light: #a998fd;
$custom-dark: #000000;
JSON
{
  "hex": "#796efa",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 244.714,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62136,
    "c": 0.20172,
    "h": 282.3
  },
  "luminance": 0.22119
}

Semantic roles & 50–950 ramp

primary
#796EFA
secondary
#F2F5CF
accent
#E600D3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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