#754F82#754F82

#754F82 is a mid, moderate purple. Relative luminance 0.110; OKLCH L 48.9% C 0.091 H 317.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#754F82
RGBrgb(117, 79, 130)
HSLhsl(285, 24%, 41%)
HSVhsv(285, 39%, 51%)
CMYKcmyk(10%, 39.2%, 0%, 49%)
CIE-LABlab(39.56, 25.60, -22.44)
CIE-LCHlch(39.56, 34.04, 318.77°)
OKLaboklab(48.92% 0.0666 -0.0617)
OKLCHoklch(48.92% 0.091 317.2)
XYZxyz(14.1608, 10.9859, 22.4893)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754F82 #5C824F
analogous
#5B4F82 #754F82 #824F75
triadic
#754F82 #82754F #4F8275
tetradic
#754F82 #825B4F #5C824F #4F7582
square
#754F82 #825B4F #5C824F #4F7582
split-complementary
#754F82 #75824F #4F825B
monochromatic
#302136 #53385C #754F82 #956AA4 #B090BB

Accessibility & contrast

On white

6.57
#754F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#754F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754F82
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754F82#FFFFFF#000000##FFFFFF
##754F821.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B84
Deuteranopia (green-blind)
#515E80
Tritanopia (blue-blind)
#755562
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #754f82;
/* rgb */ color: rgb(117, 79, 130);
/* oklch */ color: oklch(48.9% 0.091 317.2);
Tailwind
colors: {
  custom: {
    50: '#9d81a6',
    500: '#754f82',
    950: '#000000',
  },
}
SCSS
$custom: #754f82;
$custom-light: #9d81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#754f82",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 284.706,
    "s": 24.402,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48923,
    "c": 0.09075,
    "h": 317.2
  },
  "luminance": 0.10986
}

Semantic roles & 50–950 ramp

primary
#754F82
secondary
#8EA885
accent
#C1677E
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A0F
muted
#7E7C7F

Preview Lab

Preview with #754F82

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

Preview Lab → · Contrast checker → · Palette generator →

#754F82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva