#765172#765172

#765172 is a mid, moderate purple. Relative luminance 0.110; OKLCH L 48.7% C 0.069 H 330.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#765172
RGBrgb(118, 81, 114)
HSLhsl(306, 19%, 39%)
HSVhsv(306, 31%, 46%)
CMYKcmyk(0%, 31.4%, 3.4%, 53.7%)
CIE-LABlab(39.50, 21.34, -12.68)
CIE-LCHlch(39.50, 24.82, 329.28°)
OKLaboklab(48.69% 0.06 -0.0341)
OKLCHoklch(48.69% 0.069 330.4)
XYZxyz(13.4507, 10.9518, 17.3217)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765172 #517655
analogous
#685176 #765172 #765160
triadic
#765172 #727651 #517276
tetradic
#765172 #766851 #517655 #516076
square
#765172 #766851 #517655 #516076
split-complementary
#765172 #607651 #517668
monochromatic
#2D1F2C #52384F #765172 #996B94 #B28FAE

Accessibility & contrast

On white

6.58
#765172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#765172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765172
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765172#FFFFFF#000000##FFFFFF
##7651721.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A73
Deuteranopia (green-blind)
#595F71
Tritanopia (blue-blind)
#79535D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #765172;
/* rgb */ color: rgb(118, 81, 114);
/* oklch */ color: oklch(48.7% 0.069 330.4);
Tailwind
colors: {
  custom: {
    50: '#9e829a',
    500: '#765172',
    950: '#000000',
  },
}
SCSS
$custom: #765172;
$custom-light: #9e829a;
$custom-dark: #000000;
JSON
{
  "hex": "#765172",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 306.486,
    "s": 18.593,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48686,
    "c": 0.06903,
    "h": 330.4
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

primary
#765172
secondary
#83A086
accent
#BB756D
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0E0A0E
muted
#7E7C7E

Preview Lab

Preview with #765172

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

Preview Lab → · Contrast checker → · Palette generator →

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