#786288#786288

#786288 is a mid, moderate violet. Relative luminance 0.145; OKLCH L 53.2% C 0.064 H 310.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#786288
RGBrgb(120, 98, 136)
HSLhsl(275, 16%, 46%)
HSVhsv(275, 28%, 53%)
CMYKcmyk(11.8%, 27.9%, 0%, 46.7%)
CIE-LABlab(44.95, 16.53, -17.73)
CIE-LCHlch(44.95, 24.24, 312.98°)
OKLaboklab(53.19% 0.0414 -0.0484)
OKLCHoklch(53.19% 0.064 310.6)
XYZxyz(16.5566, 14.5062, 25.2155)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786288 #728862
analogous
#656288 #786288 #886285
triadic
#786288 #887862 #628878
tetradic
#786288 #886562 #728862 #628588
square
#786288 #886562 #728862 #628588
split-complementary
#786288 #858862 #628865
monochromatic
#392F41 #594864 #786288 #9682A5 #B4A6BF

Accessibility & contrast

On white

5.38
#786288 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#786288 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786288
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786288#FFFFFF#000000##FFFFFF
##7862881.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C698A
Deuteranopia (green-blind)
#606B87
Tritanopia (blue-blind)
#76676F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #786288;
/* rgb */ color: rgb(120, 98, 136);
/* oklch */ color: oklch(53.2% 0.064 310.6);
Tailwind
colors: {
  custom: {
    50: '#9f8eaa',
    500: '#786288',
    950: '#000000',
  },
}
SCSS
$custom: #786288;
$custom-light: #9f8eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#786288",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 136
  },
  "hsl": {
    "h": 274.737,
    "s": 16.239,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53188,
    "c": 0.06371,
    "h": 310.6
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

primary
#786288
secondary
#A1AD98
accent
#B96F8E
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C10
muted
#7E7D7F

Preview Lab

Preview with #786288

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

Preview Lab → · Contrast checker → · Palette generator →

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