#78628F#78628F

#78628F is a mid, moderate violet. Relative luminance 0.147; OKLCH L 53.5% C 0.073 H 306.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#78628F
RGBrgb(120, 98, 143)
HSLhsl(269, 19%, 47%)
HSVhsv(269, 31%, 56%)
CMYKcmyk(16.1%, 31.5%, 0%, 43.9%)
CIE-LABlab(45.24, 18.15, -21.48)
CIE-LCHlch(45.24, 28.12, 310.19°)
OKLaboklab(53.5% 0.0435 -0.059)
OKLCHoklch(53.5% 0.073 306.4)
XYZxyz(17.0704, 14.7117, 27.9216)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78628F #798F62
analogous
#62638F #78628F #8E628F
triadic
#78628F #8F7862 #628F78
tetradic
#78628F #8F6263 #798F62 #628F8E
square
#78628F #8F6263 #798F62 #628F8E
split-complementary
#78628F #8F8E62 #638F62
monochromatic
#3B3046 #5A496B #78628F #9784AB #B5A8C3

Accessibility & contrast

On white

5.33
#78628F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#78628F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78628F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78628F#FFFFFF#000000##FFFFFF
##78628F1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596A91
Deuteranopia (green-blind)
#5E6B8E
Tritanopia (blue-blind)
#756872
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #78628f;
/* rgb */ color: rgb(120, 98, 143);
/* oklch */ color: oklch(53.5% 0.073 306.4);
Tailwind
colors: {
  custom: {
    50: '#9f8eb0',
    500: '#78628f',
    950: '#000000',
  },
}
SCSS
$custom: #78628f;
$custom-light: #9f8eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#78628f",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 143
  },
  "hsl": {
    "h": 269.333,
    "s": 18.672,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53502,
    "c": 0.07334,
    "h": 306.4
  },
  "luminance": 0.14712
}

Semantic roles & 50–950 ramp

primary
#78628F
secondary
#A7B29B
accent
#BB6C95
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C10
muted
#7E7D7F

Preview Lab

Preview with #78628F

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

Preview Lab → · Contrast checker → · Palette generator →

#78628F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva