#765271#765271

#765271 is a mid, moderate purple. Relative luminance 0.111; OKLCH L 48.8% C 0.066 H 331.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#765271
RGBrgb(118, 82, 113)
HSLhsl(308, 18%, 39%)
HSVhsv(308, 31%, 46%)
CMYKcmyk(0%, 30.5%, 4.2%, 53.7%)
CIE-LABlab(39.71, 20.53, -11.74)
CIE-LCHlch(39.71, 23.65, 330.24°)
OKLaboklab(48.84% 0.058 -0.0315)
OKLCHoklch(48.84% 0.066 331.5)
XYZxyz(13.4689, 11.0789, 17.0485)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765271 #527657
analogous
#695276 #765271 #76525F
triadic
#765271 #717652 #527176
tetradic
#765271 #766952 #527657 #525F76
square
#765271 #766952 #527657 #525F76
split-complementary
#765271 #5F7652 #527669
monochromatic
#2E202C #52394E #765271 #996C93 #B290AD

Accessibility & contrast

On white

6.53
#765271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #765271
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765271#FFFFFF#000000##FFFFFF
##7652711.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515B72
Deuteranopia (green-blind)
#5A5F70
Tritanopia (blue-blind)
#79545D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #765271;
/* rgb */ color: rgb(118, 82, 113);
/* oklch */ color: oklch(48.8% 0.066 331.5);
Tailwind
colors: {
  custom: {
    50: '#9e8399',
    500: '#765271',
    950: '#000000',
  },
}
SCSS
$custom: #765271;
$custom-light: #9e8399;
$custom-dark: #000000;
JSON
{
  "hex": "#765271",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 308.333,
    "s": 18,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48836,
    "c": 0.06599,
    "h": 331.5
  },
  "luminance": 0.11078
}

Semantic roles & 50–950 ramp

primary
#765271
secondary
#84A088
accent
#BB786D
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0E0A0E
muted
#7E7C7E

Preview Lab

Preview with #765271

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

Preview Lab → · Contrast checker → · Palette generator →

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