#754D87#754D87

#754D87 is a mid, moderate purple. Relative luminance 0.108; OKLCH L 48.8% C 0.101 H 314.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#754D87
RGBrgb(117, 77, 135)
HSLhsl(281, 27%, 42%)
HSVhsv(281, 43%, 53%)
CMYKcmyk(13.3%, 43%, 0%, 47.1%)
CIE-LABlab(39.31, 27.92, -25.88)
CIE-LCHlch(39.31, 38.07, 317.18°)
OKLaboklab(48.81% 0.0709 -0.0715)
OKLCHoklch(48.81% 0.101 314.8)
XYZxyz(14.3625, 10.8393, 24.2526)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754D87 #5F874D
analogous
#584D87 #754D87 #874D7C
triadic
#754D87 #87754D #4D8775
tetradic
#754D87 #87584D #5F874D #4D7C87
square
#754D87 #87584D #5F874D #4D7C87
split-complementary
#754D87 #7C874D #4D8758
monochromatic
#312139 #533760 #754D87 #9568A9 #B08FBF

Accessibility & contrast

On white

6.63
#754D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#754D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754D87
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754D87#FFFFFF#000000##FFFFFF
##754D871.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A89
Deuteranopia (green-blind)
#4D5E85
Tritanopia (blue-blind)
#745563
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #754d87;
/* rgb */ color: rgb(117, 77, 135);
/* oklch */ color: oklch(48.8% 0.101 314.8);
Tailwind
colors: {
  custom: {
    50: '#9e80aa',
    500: '#754d87',
    950: '#000000',
  },
}
SCSS
$custom: #754d87;
$custom-light: #9e80aa;
$custom-dark: #000000;
JSON
{
  "hex": "#754d87",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 281.379,
    "s": 27.358,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48813,
    "c": 0.10069,
    "h": 314.8
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#754D87
secondary
#90AC84
accent
#C46482
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #754D87

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

Preview Lab → · Contrast checker → · Palette generator →

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