#796199#796199

#796199 is a mid, moderate violet. Relative luminance 0.149; OKLCH L 53.9% C 0.089 H 303.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#796199
RGBrgb(121, 97, 153)
HSLhsl(266, 22%, 49%)
HSVhsv(266, 37%, 60%)
CMYKcmyk(20.9%, 36.6%, 0%, 40%)
CIE-LABlab(45.52, 21.49, -27.00)
CIE-LCHlch(45.52, 34.51, 308.51°)
OKLaboklab(53.88% 0.049 -0.0748)
OKLCHoklch(53.88% 0.089 303.2)
XYZxyz(17.9084, 14.9143, 32.0661)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796199 #819961
analogous
#616599 #796199 #956199
triadic
#796199 #997961 #619979
tetradic
#796199 #996165 #819961 #619995
square
#796199 #996165 #819961 #619995
split-complementary
#796199 #999561 #659961
monochromatic
#3E324E #5B4974 #796199 #9885B2 #B8ABCA

Accessibility & contrast

On white

5.27
#796199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#796199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796199
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796199#FFFFFF#000000##FFFFFF
##7961991.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546B9B
Deuteranopia (green-blind)
#596C97
Tritanopia (blue-blind)
#746A76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #796199;
/* rgb */ color: rgb(121, 97, 153);
/* oklch */ color: oklch(53.9% 0.089 303.2);
Tailwind
colors: {
  custom: {
    50: '#a08eb7',
    500: '#796199',
    950: '#000000',
  },
}
SCSS
$custom: #796199;
$custom-light: #a08eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#796199",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 153
  },
  "hsl": {
    "h": 265.714,
    "s": 22.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53883,
    "c": 0.08938,
    "h": 303.2
  },
  "luminance": 0.14914
}

Semantic roles & 50–950 ramp

primary
#796199
secondary
#ADB89E
accent
#BF699A
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C11
muted
#7E7D80

Preview Lab

Preview with #796199

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

Preview Lab → · Contrast checker → · Palette generator →

#796199 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva