#78638D#78638D

#78638D is a mid, moderate violet. Relative luminance 0.148; OKLCH L 53.6% C 0.069 H 307.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#78638D
RGBrgb(120, 99, 141)
HSLhsl(270, 18%, 47%)
HSVhsv(270, 30%, 55%)
CMYKcmyk(14.9%, 29.8%, 0%, 44.7%)
CIE-LABlab(45.41, 17.08, -20.02)
CIE-LCHlch(45.41, 26.31, 310.47°)
OKLaboklab(53.61% 0.0414 -0.0549)
OKLCHoklch(53.61% 0.069 307)
XYZxyz(17.0144, 14.8399, 27.1622)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78638D #788D63
analogous
#63638D #78638D #8D638D
triadic
#78638D #8D7863 #638D78
tetradic
#78638D #8D6363 #788D63 #638D8D
square
#78638D #8D6363 #788D63 #638D8D
split-complementary
#78638D #8D8D63 #638D63
monochromatic
#3B3145 #594A69 #78638D #9784A9 #B5A8C2

Accessibility & contrast

On white

5.29
#78638D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#78638D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##78638D#FFFFFF#000000##FFFFFF
##78638D1.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)
#5B6B8F
Deuteranopia (green-blind)
#5F6C8C
Tritanopia (blue-blind)
#756972
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #78638d;
/* rgb */ color: rgb(120, 99, 141);
/* oklch */ color: oklch(53.6% 0.069 307.0);
Tailwind
colors: {
  custom: {
    50: '#9f8fae',
    500: '#78638d',
    950: '#000000',
  },
}
SCSS
$custom: #78638d;
$custom-light: #9f8fae;
$custom-dark: #000000;
JSON
{
  "hex": "#78638d",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 141
  },
  "hsl": {
    "h": 270,
    "s": 17.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53611,
    "c": 0.06871,
    "h": 307
  },
  "luminance": 0.1484
}

Semantic roles & 50–950 ramp

primary
#78638D
secondary
#A6B19B
accent
#BA6E94
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C10
muted
#7E7D7F

Preview Lab

Preview with #78638D

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

Preview Lab → · Contrast checker → · Palette generator →

#78638D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva