#786294#786294

#786294 is a mid, moderate violet. Relative luminance 0.149; OKLCH L 53.7% C 0.080 H 304.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#786294
RGBrgb(120, 98, 148)
HSLhsl(266, 20%, 48%)
HSVhsv(266, 34%, 58%)
CMYKcmyk(18.9%, 33.8%, 0%, 42%)
CIE-LABlab(45.45, 19.34, -24.14)
CIE-LCHlch(45.45, 30.93, 308.71°)
OKLaboklab(53.74% 0.0449 -0.0666)
OKLCHoklch(53.74% 0.08 304)
XYZxyz(17.4576, 14.8666, 29.9611)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786294 #7E9462
analogous
#626594 #786294 #916294
triadic
#786294 #947862 #629478
tetradic
#786294 #946265 #7E9462 #629491
square
#786294 #946265 #7E9462 #629491
split-complementary
#786294 #949162 #659462
monochromatic
#3C314A #5A4A6F #786294 #9785AE #B6AAC7

Accessibility & contrast

On white

5.29
#786294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#786294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786294
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786294#FFFFFF#000000##FFFFFF
##7862941.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586B96
Deuteranopia (green-blind)
#5C6C93
Tritanopia (blue-blind)
#746974
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #786294;
/* rgb */ color: rgb(120, 98, 148);
/* oklch */ color: oklch(53.7% 0.080 304.0);
Tailwind
colors: {
  custom: {
    50: '#9f8fb3',
    500: '#786294',
    950: '#000000',
  },
}
SCSS
$custom: #786294;
$custom-light: #9f8fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#786294",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 148
  },
  "hsl": {
    "h": 266.4,
    "s": 20.325,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53736,
    "c": 0.08032,
    "h": 304
  },
  "luminance": 0.14867
}

Semantic roles & 50–950 ramp

primary
#786294
secondary
#AAB59D
accent
#BD6B99
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0C11
muted
#7E7D80

Preview Lab

Preview with #786294

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

Preview Lab → · Contrast checker → · Palette generator →

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