#796FCA#796FCA

#796FCA is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.2% C 0.136 H 286.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#796FCA
RGBrgb(121, 111, 202)
HSLhsl(247, 46%, 61%)
HSVhsv(247, 45%, 79%)
CMYKcmyk(40.1%, 45%, 0%, 20.8%)
CIE-LABlab(51.49, 26.10, -46.12)
CIE-LCHlch(51.49, 53.00, 299.51°)
OKLaboklab(59.22% 0.0386 -0.1303)
OKLCHoklch(59.22% 0.136 286.5)
XYZxyz(24.2273, 19.6973, 58.3911)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FCA #C0CA6F
analogous
#6F93CA #796FCA #A76FCA
triadic
#796FCA #CA796F #6FCA79
tetradic
#796FCA #CA6F93 #C0CA6F #6FCAA7
square
#796FCA #CA6F93 #C0CA6F #6FCAA7
split-complementary
#796FCA #CAA76F #93CA6F
monochromatic
#3D338B #5144B8 #796FCA #A39CDA #CCC8EB

Accessibility & contrast

On white

4.25
#796FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#796FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FCA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FCA#FFFFFF#000000##000000
##796FCA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7DCD
Deuteranopia (green-blind)
#4C78C8
Tritanopia (blue-blind)
#628193
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #796fca;
/* rgb */ color: rgb(121, 111, 202);
/* oklch */ color: oklch(59.2% 0.136 286.5);
Tailwind
colors: {
  custom: {
    50: '#a398da',
    500: '#796fca',
    950: '#000000',
  },
}
SCSS
$custom: #796fca;
$custom-light: #a398da;
$custom-dark: #000000;
JSON
{
  "hex": "#796fca",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 246.593,
    "s": 46.193,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59217,
    "c": 0.13588,
    "h": 286.5
  },
  "luminance": 0.19698
}

Semantic roles & 50–950 ramp

primary
#796FCA
secondary
#D8DBB9
accent
#B92CAA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #796FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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