#796290#796290

#796290 is a mid, moderate violet. Relative luminance 0.148; OKLCH L 53.6% C 0.075 H 306.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#796290
RGBrgb(121, 98, 144)
HSLhsl(270, 19%, 47%)
HSVhsv(270, 32%, 56%)
CMYKcmyk(16%, 31.9%, 0%, 43.5%)
CIE-LABlab(45.38, 18.72, -21.85)
CIE-LCHlch(45.38, 28.78, 310.58°)
OKLaboklab(53.65% 0.0451 -0.0601)
OKLCHoklch(53.65% 0.075 306.9)
XYZxyz(17.2859, 14.8140, 28.3289)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796290 #799062
analogous
#626290 #796290 #906290
triadic
#796290 #907962 #629079
tetradic
#796290 #906262 #799062 #629090
square
#796290 #906262 #799062 #629090
split-complementary
#796290 #909062 #629062
monochromatic
#3C3047 #5A496C #796290 #9884AB #B6A8C4

Accessibility & contrast

On white

5.30
#796290 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#796290 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796290
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796290#FFFFFF#000000##FFFFFF
##7962901.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596B92
Deuteranopia (green-blind)
#5E6C8F
Tritanopia (blue-blind)
#766973
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #796290;
/* rgb */ color: rgb(121, 98, 144);
/* oklch */ color: oklch(53.6% 0.075 306.9);
Tailwind
colors: {
  custom: {
    50: '#a08fb0',
    500: '#796290',
    950: '#000000',
  },
}
SCSS
$custom: #796290;
$custom-light: #a08fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#796290",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 144
  },
  "hsl": {
    "h": 270,
    "s": 19.008,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53648,
    "c": 0.07508,
    "h": 306.9
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#796290
secondary
#A7B39B
accent
#BC6C94
background
#F9F8FA
surface
#F2F0F5
border
#CCCBCF
text
#0F0C10
muted
#7E7D7F

Preview Lab

Preview with #796290

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

Preview Lab → · Contrast checker → · Palette generator →

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