#754C7B#754C7B

#754C7B is a mid, moderate purple. Relative luminance 0.104; OKLCH L 48.0% C 0.088 H 322.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#754C7B
RGBrgb(117, 76, 123)
HSLhsl(292, 24%, 39%)
HSVhsv(292, 38%, 48%)
CMYKcmyk(4.9%, 38.2%, 0%, 51.8%)
CIE-LABlab(38.52, 25.85, -19.75)
CIE-LCHlch(38.52, 32.53, 322.63°)
OKLaboklab(48.04% 0.0697 -0.054)
OKLCHoklch(48.04% 0.088 322.2)
XYZxyz(13.4953, 10.3813, 20.0280)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754C7B #527B4C
analogous
#5E4C7B #754C7B #7B4C6A
triadic
#754C7B #7B754C #4C7B75
tetradic
#754C7B #7B5E4C #527B4C #4C6A7B
square
#754C7B #7B5E4C #527B4C #4C6A7B
split-complementary
#754C7B #6A7B4C #4C7B5E
monochromatic
#2D1D2F #513555 #754C7B #9865A0 #B18AB7

Accessibility & contrast

On white

6.83
#754C7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#754C7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754C7B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754C7B#FFFFFF#000000##FFFFFF
##754C7B1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#515C7A
Tritanopia (blue-blind)
#76515E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #754c7b;
/* rgb */ color: rgb(117, 76, 123);
/* oklch */ color: oklch(48.0% 0.088 322.2);
Tailwind
colors: {
  custom: {
    50: '#9d7fa1',
    500: '#754c7b',
    950: '#000000',
  },
}
SCSS
$custom: #754c7b;
$custom-light: #9d7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#754c7b",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 123
  },
  "hsl": {
    "h": 292.34,
    "s": 23.618,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48037,
    "c": 0.08815,
    "h": 322.2
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

primary
#754C7B
secondary
#84A47F
accent
#C06873
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0E0A0F
muted
#7E7C7E

Preview Lab

Preview with #754C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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