#797290#797290

#797290 is a mid, muted violet. Relative luminance 0.181; OKLCH L 56.9% C 0.046 H 295.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#797290
RGBrgb(121, 114, 144)
HSLhsl(254, 12%, 51%)
HSVhsv(254, 21%, 56%)
CMYKcmyk(16%, 20.8%, 0%, 43.5%)
CIE-LABlab(49.63, 9.12, -15.34)
CIE-LCHlch(49.63, 17.85, 300.74°)
OKLaboklab(56.93% 0.02 -0.0418)
OKLCHoklch(56.93% 0.046 295.6)
XYZxyz(18.9354, 18.1131, 28.8787)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797290 #899072
analogous
#727A90 #797290 #887290
triadic
#797290 #907972 #729079
tetradic
#797290 #90727A #899072 #729088
square
#797290 #90727A #899072 #729088
split-complementary
#797290 #908872 #7A9072
monochromatic
#3F3C4C #5C576E #797290 #9A94AB #BAB6C6

Accessibility & contrast

On white

4.54
#797290 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#797290 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##797290#FFFFFF#000000##000000
##7972901.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7691
Deuteranopia (green-blind)
#6D768F
Tritanopia (blue-blind)
#75767C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797290;
/* rgb */ color: rgb(121, 114, 144);
/* oklch */ color: oklch(56.9% 0.046 295.6);
Tailwind
colors: {
  custom: {
    50: '#a09ab0',
    500: '#797290',
    950: '#000000',
  },
}
SCSS
$custom: #797290;
$custom-light: #a09ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#797290",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 144
  },
  "hsl": {
    "h": 254,
    "s": 11.905,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56926,
    "c": 0.04633,
    "h": 295.6
  },
  "luminance": 0.18113
}

Semantic roles & 50–950 ramp

primary
#797290
secondary
#B2B6A8
accent
#B573A5
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #797290

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

Preview Lab → · Contrast checker → · Palette generator →

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