#787293#787293

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

Color values

HEX#787293
RGBrgb(120, 114, 147)
HSLhsl(251, 13%, 51%)
HSVhsv(251, 22%, 58%)
CMYKcmyk(18.4%, 22.4%, 0%, 42.4%)
CIE-LABlab(49.66, 9.49, -17.08)
CIE-LCHlch(49.66, 19.54, 299.06°)
OKLaboklab(56.96% 0.0199 -0.0467)
OKLCHoklch(56.96% 0.051 293.1)
XYZxyz(19.0283, 18.1341, 30.0959)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787293 #8D9372
analogous
#727C93 #787293 #887293
triadic
#787293 #937872 #729378
tetradic
#787293 #93727C #8D9372 #729388
square
#787293 #93727C #8D9372 #729388
split-complementary
#787293 #938872 #7C9372
monochromatic
#3F3C4E #5B5771 #787293 #9995AE #BAB7C8

Accessibility & contrast

On white

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

On black

4.63
#787293 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787293
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787293#FFFFFF#000000##000000
##7872931.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7694
Deuteranopia (green-blind)
#6B7692
Tritanopia (blue-blind)
#73777D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #787293;
/* rgb */ color: rgb(120, 114, 147);
/* oklch */ color: oklch(57.0% 0.051 293.1);
Tailwind
colors: {
  custom: {
    50: '#9f9ab2',
    500: '#787293',
    950: '#000000',
  },
}
SCSS
$custom: #787293;
$custom-light: #9f9ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#787293",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 147
  },
  "hsl": {
    "h": 250.909,
    "s": 13.253,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56961,
    "c": 0.05072,
    "h": 293.1
  },
  "luminance": 0.18134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #787293

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

Preview Lab → · Contrast checker → · Palette generator →

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