#797293#797293

#797293 is a mid, muted violet. Relative luminance 0.182; OKLCH L 57.0% C 0.051 H 294.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#797293
RGBrgb(121, 114, 147)
HSLhsl(253, 13%, 51%)
HSVhsv(253, 22%, 58%)
CMYKcmyk(17.7%, 22.4%, 0%, 42.4%)
CIE-LABlab(49.74, 9.83, -16.94)
CIE-LCHlch(49.74, 19.58, 300.13°)
OKLaboklab(57.05% 0.021 -0.0463)
OKLCHoklch(57.05% 0.051 294.5)
XYZxyz(19.1678, 18.2060, 30.1024)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797293 #8C9372
analogous
#727B93 #797293 #897293
triadic
#797293 #937972 #729379
tetradic
#797293 #93727B #8C9372 #729389
square
#797293 #93727B #8C9372 #729389
split-complementary
#797293 #938972 #7B9372
monochromatic
#403C4E #5C5771 #797293 #9A95AE #BBB7C8

Accessibility & contrast

On white

4.52
#797293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#797293 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797293
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797293#FFFFFF#000000##000000
##7972931.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7794
Deuteranopia (green-blind)
#6C7692
Tritanopia (blue-blind)
#74777D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797293;
/* rgb */ color: rgb(121, 114, 147);
/* oklch */ color: oklch(57.0% 0.051 294.5);
Tailwind
colors: {
  custom: {
    50: '#a09ab2',
    500: '#797293',
    950: '#000000',
  },
}
SCSS
$custom: #797293;
$custom-light: #a09ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#797293",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 147
  },
  "hsl": {
    "h": 252.727,
    "s": 13.253,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5705,
    "c": 0.05082,
    "h": 294.5
  },
  "luminance": 0.18206
}

Semantic roles & 50–950 ramp

primary
#797293
secondary
#B5B8A9
accent
#B672A8
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #797293

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

Preview Lab → · Contrast checker → · Palette generator →

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