#786199#786199

#786199 is a mid, moderate violet. Relative luminance 0.148; OKLCH L 53.8% C 0.089 H 302.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#786199
RGBrgb(120, 97, 153)
HSLhsl(265, 22%, 49%)
HSVhsv(265, 37%, 60%)
CMYKcmyk(21.6%, 36.6%, 0%, 40%)
CIE-LABlab(45.42, 21.17, -27.16)
CIE-LCHlch(45.42, 34.44, 307.93°)
OKLaboklab(53.78% 0.0477 -0.0752)
OKLCHoklch(53.78% 0.089 302.4)
XYZxyz(17.7690, 14.8424, 32.0596)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786199 #829961
analogous
#616699 #786199 #946199
triadic
#786199 #997861 #619978
tetradic
#786199 #996166 #829961 #619994
square
#786199 #996166 #829961 #619994
split-complementary
#786199 #999461 #669961
monochromatic
#3D324E #5B4974 #786199 #9885B2 #B7ABCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##786199#FFFFFF#000000##FFFFFF
##7861991.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)
#546B9B
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#726A76
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #786199;
/* rgb */ color: rgb(120, 97, 153);
/* oklch */ color: oklch(53.8% 0.089 302.4);
Tailwind
colors: {
  custom: {
    50: '#a08eb7',
    500: '#786199',
    950: '#000000',
  },
}
SCSS
$custom: #786199;
$custom-light: #a08eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#786199",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 153
  },
  "hsl": {
    "h": 264.643,
    "s": 22.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.08911,
    "h": 302.4
  },
  "luminance": 0.14842
}

Semantic roles & 50–950 ramp

primary
#786199
secondary
#ADB89E
accent
#BF699C
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C11
muted
#7E7D80

Preview Lab

Preview with #786199

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

Preview Lab → · Contrast checker → · Palette generator →

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