#796FC3#796FC3

#796FC3 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.126 H 287.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#796FC3
RGBrgb(121, 111, 195)
HSLhsl(247, 41%, 60%)
HSVhsv(247, 43%, 76%)
CMYKcmyk(37.9%, 43.1%, 0%, 23.5%)
CIE-LABlab(51.12, 24.14, -42.71)
CIE-LCHlch(51.12, 49.05, 299.47°)
OKLaboklab(58.81% 0.0375 -0.1203)
OKLCHoklch(58.81% 0.126 287.3)
XYZxyz(23.4172, 19.3732, 54.1248)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FC3 #B9C36F
analogous
#6F8FC3 #796FC3 #A36FC3
triadic
#796FC3 #C3796F #6FC379
tetradic
#796FC3 #C36F8F #B9C36F #6FC3A3
square
#796FC3 #C36F8F #B9C36F #6FC3A3
split-complementary
#796FC3 #C3A36F #8FC36F
monochromatic
#3F3682 #5448AD #796FC3 #A19AD5 #C9C5E7

Accessibility & contrast

On white

4.31
#796FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#796FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FC3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FC3#FFFFFF#000000##000000
##796FC31.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#527CC6
Deuteranopia (green-blind)
#5178C1
Tritanopia (blue-blind)
#657F8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #796fc3;
/* rgb */ color: rgb(121, 111, 195);
/* oklch */ color: oklch(58.8% 0.126 287.3);
Tailwind
colors: {
  custom: {
    50: '#a398d5',
    500: '#796fc3',
    950: '#000000',
  },
}
SCSS
$custom: #796fc3;
$custom-light: #a398d5;
$custom-dark: #000000;
JSON
{
  "hex": "#796fc3",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 195
  },
  "hsl": {
    "h": 247.143,
    "s": 41.176,
    "l": 60
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.12601,
    "h": 287.3
  },
  "luminance": 0.19374
}

Semantic roles & 50–950 ramp

primary
#796FC3
secondary
#D3D7B7
accent
#D157C2
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #796FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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