#796FF1#796FF1

#796FF1 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.7% C 0.189 H 282.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#796FF1
RGBrgb(121, 111, 241)
HSLhsl(245, 82%, 69%)
HSVhsv(245, 54%, 95%)
CMYKcmyk(49.8%, 53.9%, 0%, 5.5%)
CIE-LABlab(53.80, 37.46, -64.43)
CIE-LCHlch(53.80, 74.53, 300.18°)
OKLaboklab(61.69% 0.0419 -0.184)
OKLCHoklch(61.69% 0.189 282.8)
XYZxyz(29.4420, 21.7831, 85.8552)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FF1 #E7F16F
analogous
#6FA6F1 #796FF1 #BA6FF1
triadic
#796FF1 #F1796F #6FF179
tetradic
#796FF1 #F16FA6 #E7F16F #6FF1BA
square
#796FF1 #F16FA6 #E7F16F #6FF1BA
split-complementary
#796FF1 #F1BA6F #A6F16F
monochromatic
#2314D1 #4537EC #796FF1 #ADA7F6 #E1DFFC

Accessibility & contrast

On white

3.92
#796FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#796FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FF1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FF1#FFFFFF#000000##000000
##796FF11.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2285F5
Deuteranopia (green-blind)
#137CEE
Tritanopia (blue-blind)
#4B8CA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796ff1;
/* rgb */ color: rgb(121, 111, 241);
/* oklch */ color: oklch(61.7% 0.189 282.8);
Tailwind
colors: {
  custom: {
    50: '#a798f6',
    500: '#796ff1',
    950: '#000000',
  },
}
SCSS
$custom: #796ff1;
$custom-light: #a798f6;
$custom-dark: #000000;
JSON
{
  "hex": "#796ff1",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 241
  },
  "hsl": {
    "h": 244.615,
    "s": 82.278,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61686,
    "c": 0.18874,
    "h": 282.8
  },
  "luminance": 0.21785
}

Semantic roles & 50–950 ramp

primary
#796FF1
secondary
#EEF1CB
accent
#DF07CE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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