#796AFA#796AFA

#796AFA is a mid, highly saturated blue. Relative luminance 0.213; OKLCH L 61.5% C 0.207 H 283.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#796AFA
RGBrgb(121, 106, 250)
HSLhsl(246, 94%, 70%)
HSVhsv(246, 58%, 98%)
CMYKcmyk(51.6%, 57.6%, 0%, 2%)
CIE-LABlab(53.25, 43.04, -70.32)
CIE-LCHlch(53.25, 82.45, 301.47°)
OKLaboklab(61.47% 0.0472 -0.2014)
OKLCHoklch(61.47% 0.207 283.2)
XYZxyz(30.2893, 21.2735, 92.9341)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AFA #EBFA6A
analogous
#6AA3FA #796AFA #C16AFA
triadic
#796AFA #FA796A #6AFA79
tetradic
#796AFA #FA6AA3 #EBFA6A #6AFAC1
square
#796AFA #FA6AA3 #EBFA6A #6AFAC1
split-complementary
#796AFA #FAC16A #A3FA6A
monochromatic
#1E08E2 #442FF8 #796AFA #AEA5FC #E4E0FE

Accessibility & contrast

On white

4.00
#796AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#796AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AFA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AFA#FFFFFF#000000##000000
##796AFA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#448CA8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796afa;
/* rgb */ color: rgb(121, 106, 250);
/* oklch */ color: oklch(61.5% 0.207 283.2);
Tailwind
colors: {
  custom: {
    50: '#a995fd',
    500: '#796afa',
    950: '#000000',
  },
}
SCSS
$custom: #796afa;
$custom-light: #a995fd;
$custom-dark: #000000;
JSON
{
  "hex": "#796afa",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 246.25,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.20683,
    "h": 283.2
  },
  "luminance": 0.21275
}

Semantic roles & 50–950 ramp

primary
#796AFA
secondary
#F0F4CC
accent
#E600CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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