#796EFF#796EFF

#796EFF is a light, highly saturated blue. Relative luminance 0.224; OKLCH L 62.5% C 0.208 H 282.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#796EFF
RGBrgb(121, 110, 255)
HSLhsl(245, 100%, 72%)
HSVhsv(245, 57%, 100%)
CMYKcmyk(52.5%, 56.9%, 0%, 0%)
CIE-LABlab(54.49, 42.22, -71.09)
CIE-LCHlch(54.49, 82.68, 300.71°)
OKLaboklab(62.49% 0.0431 -0.2036)
OKLCHoklch(62.49% 0.208 282)
XYZxyz(31.5055, 22.4350, 97.2586)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EFF #F4FF6E
analogous
#6EACFF #796EFF #C26EFF
triadic
#796EFF #FF796E #6EFF79
tetradic
#796EFF #FF6EAC #F4FF6E #6EFFC2
square
#796EFF #FF6EAC #F4FF6E #6EFFC2
split-complementary
#796EFF #FFC26E #ACFF6E
monochromatic
#1200F3 #4031FF #796EFF #B2ABFF #E3E0FF

Accessibility & contrast

On white

3.83
#796EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#796EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EFF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EFF#FFFFFF#000000##000000
##796EFF1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007DFC
Tritanopia (blue-blind)
#3F90AC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #796eff;
/* rgb */ color: rgb(121, 110, 255);
/* oklch */ color: oklch(62.5% 0.208 282.0);
Tailwind
colors: {
  custom: {
    50: '#a998ff',
    500: '#796eff',
    950: '#000000',
  },
}
SCSS
$custom: #796eff;
$custom-light: #a998ff;
$custom-dark: #000000;
JSON
{
  "hex": "#796eff",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 255
  },
  "hsl": {
    "h": 244.552,
    "s": 100,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6249,
    "c": 0.20812,
    "h": 282
  },
  "luminance": 0.22437
}

Semantic roles & 50–950 ramp

primary
#796EFF
secondary
#F4F7D2
accent
#E600D4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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