#765280#765280

#765280 is a mid, moderate purple. Relative luminance 0.114; OKLCH L 49.5% C 0.083 H 318.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#765280
RGBrgb(118, 82, 128)
HSLhsl(287, 22%, 41%)
HSVhsv(287, 36%, 50%)
CMYKcmyk(7.8%, 35.9%, 0%, 49.8%)
CIE-LABlab(40.32, 23.69, -20.02)
CIE-LCHlch(40.32, 31.02, 319.80°)
OKLaboklab(49.5% 0.0625 -0.0548)
OKLCHoklch(49.5% 0.083 318.8)
XYZxyz(14.3843, 11.4450, 21.8693)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765280 #5C8052
analogous
#5F5280 #765280 #805273
triadic
#765280 #807652 #528076
tetradic
#765280 #805F52 #5C8052 #527380
square
#765280 #805F52 #5C8052 #527380
split-complementary
#765280 #738052 #52805F
monochromatic
#312235 #543A5B #765280 #966DA2 #B193BA

Accessibility & contrast

On white

6.38
#765280 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#765280 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765280
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765280#FFFFFF#000000##FFFFFF
##7652801.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5D82
Deuteranopia (green-blind)
#55607F
Tritanopia (blue-blind)
#765763
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #765280;
/* rgb */ color: rgb(118, 82, 128);
/* oklch */ color: oklch(49.5% 0.083 318.8);
Tailwind
colors: {
  custom: {
    50: '#9e83a5',
    500: '#765280',
    950: '#000000',
  },
}
SCSS
$custom: #765280;
$custom-light: #9e83a5;
$custom-dark: #000000;
JSON
{
  "hex": "#765280",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 128
  },
  "hsl": {
    "h": 286.957,
    "s": 21.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49498,
    "c": 0.08312,
    "h": 318.8
  },
  "luminance": 0.11445
}

Semantic roles & 50–950 ramp

primary
#765280
secondary
#8EA787
accent
#BE697C
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0E0A0F
muted
#7E7C7F

Preview Lab

Preview with #765280

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

Preview Lab → · Contrast checker → · Palette generator →

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