#797299#797299

#797299 is a mid, muted violet. Relative luminance 0.184; OKLCH L 57.3% C 0.060 H 292.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#797299
RGBrgb(121, 114, 153)
HSLhsl(251, 16%, 52%)
HSVhsv(251, 25%, 60%)
CMYKcmyk(20.9%, 25.5%, 0%, 40%)
CIE-LABlab(49.98, 11.27, -20.11)
CIE-LCHlch(49.98, 23.05, 299.27°)
OKLaboklab(57.31% 0.023 -0.0552)
OKLCHoklch(57.31% 0.06 292.6)
XYZxyz(19.6509, 18.3993, 32.6469)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797299 #929972
analogous
#727F99 #797299 #8C7299
triadic
#797299 #997972 #729979
tetradic
#797299 #99727F #929972 #72998C
square
#797299 #99727F #929972 #72998C
split-complementary
#797299 #998C72 #7F9972
monochromatic
#413D54 #5C5677 #797299 #9B96B3 #BCB9CC

Accessibility & contrast

On white

4.49
#797299 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#797299 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797299
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797299#FFFFFF#000000##000000
##7972991.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#69779B
Deuteranopia (green-blind)
#697698
Tritanopia (blue-blind)
#737880
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797299;
/* rgb */ color: rgb(121, 114, 153);
/* oklch */ color: oklch(57.3% 0.060 292.6);
Tailwind
colors: {
  custom: {
    50: '#a09ab7',
    500: '#797299',
    950: '#000000',
  },
}
SCSS
$custom: #797299;
$custom-light: #a09ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#797299",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 153
  },
  "hsl": {
    "h": 250.769,
    "s": 16.049,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57306,
    "c": 0.05981,
    "h": 292.6
  },
  "luminance": 0.18399
}

Semantic roles & 50–950 ramp

primary
#797299
secondary
#B9BCAB
accent
#B96FAC
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #797299

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

Preview Lab → · Contrast checker → · Palette generator →

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