#765A7E#765A7E

#765A7E is a mid, moderate purple. Relative luminance 0.127; OKLCH L 50.9% C 0.065 H 318.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#765A7E
RGBrgb(118, 90, 126)
HSLhsl(287, 17%, 42%)
HSVhsv(287, 29%, 49%)
CMYKcmyk(6.3%, 28.6%, 0%, 50.6%)
CIE-LABlab(42.26, 18.42, -15.82)
CIE-LCHlch(42.26, 24.29, 319.34°)
OKLaboklab(50.95% 0.0488 -0.043)
OKLCHoklch(50.95% 0.065 318.6)
XYZxyz(14.8927, 12.6705, 21.3957)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765A7E #627E5A
analogous
#645A7E #765A7E #7E5A74
triadic
#765A7E #7E765A #5A7E76
tetradic
#765A7E #7E645A #627E5A #5A747E
square
#765A7E #7E645A #627E5A #5A747E
split-complementary
#765A7E #747E5A #5A7E64
monochromatic
#332737 #55405A #765A7E #95779E #B19BB8

Accessibility & contrast

On white

5.94
#765A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#765A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765A7E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765A7E#FFFFFF#000000##FFFFFF
##765A7E1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56627F
Deuteranopia (green-blind)
#5C657D
Tritanopia (blue-blind)
#765E67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #765a7e;
/* rgb */ color: rgb(118, 90, 126);
/* oklch */ color: oklch(50.9% 0.065 318.6);
Tailwind
colors: {
  custom: {
    50: '#9e89a3',
    500: '#765a7e',
    950: '#000000',
  },
}
SCSS
$custom: #765a7e;
$custom-light: #9e89a3;
$custom-dark: #000000;
JSON
{
  "hex": "#765a7e",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 126
  },
  "hsl": {
    "h": 286.667,
    "s": 16.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50949,
    "c": 0.06504,
    "h": 318.6
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#765A7E
secondary
#93A68E
accent
#B96E7F
background
#F9F8FA
surface
#F2F0F3
border
#CCCBCD
text
#0E0B0F
muted
#7E7C7F

Preview Lab

Preview with #765A7E

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

Preview Lab → · Contrast checker → · Palette generator →

#765A7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva