#796490#796490

#796490 is a mid, moderate violet. Relative luminance 0.152; OKLCH L 54.0% C 0.071 H 306.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#796490
RGBrgb(121, 100, 144)
HSLhsl(269, 18%, 48%)
HSVhsv(269, 31%, 56%)
CMYKcmyk(16%, 30.6%, 0%, 43.5%)
CIE-LABlab(45.90, 17.52, -21.05)
CIE-LCHlch(45.90, 27.39, 309.76°)
OKLaboklab(54.05% 0.0419 -0.0578)
OKLCHoklch(54.05% 0.071 306)
XYZxyz(17.4754, 15.1930, 28.3921)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796490 #7B9064
analogous
#646590 #796490 #8F6490
triadic
#796490 #907964 #649079
tetradic
#796490 #906465 #7B9064 #64908F
square
#796490 #906465 #7B9064 #64908F
split-complementary
#796490 #908F64 #659064
monochromatic
#3C3248 #5B4B6C #796490 #9886AB #B7AAC4

Accessibility & contrast

On white

5.20
#796490 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#796490 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796490
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796490#FFFFFF#000000##FFFFFF
##7964901.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6C92
Deuteranopia (green-blind)
#606D8F
Tritanopia (blue-blind)
#766A74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796490;
/* rgb */ color: rgb(121, 100, 144);
/* oklch */ color: oklch(54.0% 0.071 306.0);
Tailwind
colors: {
  custom: {
    50: '#a090b0',
    500: '#796490',
    950: '#000000',
  },
}
SCSS
$custom: #796490;
$custom-light: #a090b0;
$custom-dark: #000000;
JSON
{
  "hex": "#796490",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 144
  },
  "hsl": {
    "h": 268.636,
    "s": 18.033,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.0714,
    "h": 306
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

primary
#796490
secondary
#A8B39D
accent
#BB6D96
background
#F9F8FA
surface
#F2F0F5
border
#CCCBCF
text
#0F0C10
muted
#7E7D7F

Preview Lab

Preview with #796490

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

Preview Lab → · Contrast checker → · Palette generator →

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