#796FF0#796FF0

#796FF0 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.6% C 0.187 H 282.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#796FF0
RGBrgb(121, 111, 240)
HSLhsl(245, 81%, 69%)
HSVhsv(245, 54%, 94%)
CMYKcmyk(49.6%, 53.8%, 0%, 5.9%)
CIE-LABlab(53.73, 37.17, -63.98)
CIE-LCHlch(53.73, 73.99, 300.15°)
OKLaboklab(61.62% 0.0419 -0.1827)
OKLCHoklch(61.62% 0.187 282.9)
XYZxyz(29.2930, 21.7236, 85.0707)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FF0 #E6F06F
analogous
#6FA6F0 #796FF0 #BA6FF0
triadic
#796FF0 #F0796F #6FF079
tetradic
#796FF0 #F06FA6 #E6F06F #6FF0BA
square
#796FF0 #F06FA6 #E6F06F #6FF0BA
split-complementary
#796FF0 #F0BA6F #A6F06F
monochromatic
#2416CF #4538EA #796FF0 #ADA6F6 #E0DEFC

Accessibility & contrast

On white

3.93
#796FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#796FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FF0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FF0#FFFFFF#000000##000000
##796FF01.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2485F4
Deuteranopia (green-blind)
#177CED
Tritanopia (blue-blind)
#4C8CA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796ff0;
/* rgb */ color: rgb(121, 111, 240);
/* oklch */ color: oklch(61.6% 0.187 282.9);
Tailwind
colors: {
  custom: {
    50: '#a798f6',
    500: '#796ff0',
    950: '#000000',
  },
}
SCSS
$custom: #796ff0;
$custom-light: #a798f6;
$custom-dark: #000000;
JSON
{
  "hex": "#796ff0",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 240
  },
  "hsl": {
    "h": 244.651,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61618,
    "c": 0.18743,
    "h": 282.9
  },
  "luminance": 0.21725
}

Semantic roles & 50–950 ramp

primary
#796FF0
secondary
#EEF0CA
accent
#DD08CD
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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