#796FA3#796FA3

#796FA3 is a mid, moderate violet. Relative luminance 0.181; OKLCH L 57.1% C 0.080 H 292.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#796FA3
RGBrgb(121, 111, 163)
HSLhsl(252, 22%, 54%)
HSVhsv(252, 32%, 64%)
CMYKcmyk(25.8%, 31.9%, 0%, 36.1%)
CIE-LABlab(49.59, 15.56, -26.57)
CIE-LCHlch(49.59, 30.79, 300.36°)
OKLaboklab(57.14% 0.0305 -0.0736)
OKLCHoklch(57.14% 0.08 292.5)
XYZxyz(20.1789, 18.0779, 37.0695)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FA3 #99A36F
analogous
#6F7FA3 #796FA3 #936FA3
triadic
#796FA3 #A3796F #6FA379
tetradic
#796FA3 #A36F7F #99A36F #6FA393
square
#796FA3 #A36F7F #99A36F #6FA393
split-complementary
#796FA3 #A3936F #7FA36F
monochromatic
#423B5D #5C5382 #796FA3 #9C94BB #BEBAD3

Accessibility & contrast

On white

4.55
#796FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#796FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FA3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FA3#FFFFFF#000000##000000
##796FA31.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6277A5
Deuteranopia (green-blind)
#6375A2
Tritanopia (blue-blind)
#707882
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #796fa3;
/* rgb */ color: rgb(121, 111, 163);
/* oklch */ color: oklch(57.1% 0.080 292.5);
Tailwind
colors: {
  custom: {
    50: '#a098be',
    500: '#796fa3',
    950: '#000000',
  },
}
SCSS
$custom: #796fa3;
$custom-light: #a098be;
$custom-dark: #000000;
JSON
{
  "hex": "#796fa3",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 163
  },
  "hsl": {
    "h": 251.538,
    "s": 22.034,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57144,
    "c": 0.07964,
    "h": 292.5
  },
  "luminance": 0.18078
}

Semantic roles & 50–950 ramp

primary
#796FA3
secondary
#BEC2AC
accent
#BF69AE
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0F0D12
muted
#7E7E81

Preview Lab

Preview with #796FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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