#754F87#754F87

#754F87 is a mid, moderate purple. Relative luminance 0.111; OKLCH L 49.2% C 0.097 H 314.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#754F87
RGBrgb(117, 79, 135)
HSLhsl(281, 26%, 42%)
HSVhsv(281, 41%, 53%)
CMYKcmyk(13.3%, 41.5%, 0%, 47.1%)
CIE-LABlab(39.79, 26.73, -25.13)
CIE-LCHlch(39.79, 36.69, 316.77°)
OKLaboklab(49.17% 0.0677 -0.0694)
OKLCHoklch(49.17% 0.097 314.3)
XYZxyz(14.5046, 11.1235, 24.2999)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754F87 #61874F
analogous
#594F87 #754F87 #874F7D
triadic
#754F87 #87754F #4F8775
tetradic
#754F87 #87594F #61874F #4F7D87
square
#754F87 #87594F #61874F #4F7D87
split-complementary
#754F87 #7D874F #4F8759
monochromatic
#32223A #543860 #754F87 #956BA8 #B091BF

Accessibility & contrast

On white

6.51
#754F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#754F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754F87
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754F87#FFFFFF#000000##FFFFFF
##754F871.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C89
Deuteranopia (green-blind)
#4F5F85
Tritanopia (blue-blind)
#745764
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #754f87;
/* rgb */ color: rgb(117, 79, 135);
/* oklch */ color: oklch(49.2% 0.097 314.3);
Tailwind
colors: {
  custom: {
    50: '#9e81aa',
    500: '#754f87',
    950: '#000000',
  },
}
SCSS
$custom: #754f87;
$custom-light: #9e81aa;
$custom-dark: #000000;
JSON
{
  "hex": "#754f87",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 280.714,
    "s": 26.168,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.09696,
    "h": 314.3
  },
  "luminance": 0.11123
}

Semantic roles & 50–950 ramp

primary
#754F87
secondary
#92AC86
accent
#C36583
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #754F87

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

Preview Lab → · Contrast checker → · Palette generator →

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