#765178#765178

#765178 is a mid, moderate purple. Relative luminance 0.111; OKLCH L 48.9% C 0.076 H 324.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#765178
RGBrgb(118, 81, 120)
HSLhsl(297, 19%, 39%)
HSVhsv(297, 33%, 47%)
CMYKcmyk(1.7%, 32.5%, 0%, 52.9%)
CIE-LABlab(39.74, 22.57, -16.02)
CIE-LCHlch(39.74, 27.68, 324.64°)
OKLaboklab(48.94% 0.0619 -0.0435)
OKLCHoklch(48.94% 0.076 324.9)
XYZxyz(13.8035, 11.0929, 19.1797)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765178 #537851
analogous
#635178 #765178 #785167
triadic
#765178 #787651 #517876
tetradic
#765178 #786351 #537851 #516778
square
#765178 #786351 #537851 #516778
split-complementary
#765178 #677851 #517863
monochromatic
#2E202F #523853 #765178 #996B9B #B290B4

Accessibility & contrast

On white

6.52
#765178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#765178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765178
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765178#FFFFFF#000000##FFFFFF
##7651781.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B7A
Deuteranopia (green-blind)
#575F77
Tritanopia (blue-blind)
#78555F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #765178;
/* rgb */ color: rgb(118, 81, 120);
/* oklch */ color: oklch(48.9% 0.076 324.9);
Tailwind
colors: {
  custom: {
    50: '#9e829f',
    500: '#765178',
    950: '#000000',
  },
}
SCSS
$custom: #765178;
$custom-light: #9e829f;
$custom-dark: #000000;
JSON
{
  "hex": "#765178",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 296.923,
    "s": 19.403,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48944,
    "c": 0.07562,
    "h": 324.9
  },
  "luminance": 0.11092
}

Semantic roles & 50–950 ramp

primary
#765178
secondary
#85A184
accent
#BC6C70
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0E0A0E
muted
#7E7C7E

Preview Lab

Preview with #765178

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

Preview Lab → · Contrast checker → · Palette generator →

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