#754F7B#754F7B

#754F7B is a mid, moderate purple. Relative luminance 0.108; OKLCH L 48.6% C 0.082 H 321.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#754F7B
RGBrgb(117, 79, 123)
HSLhsl(292, 22%, 40%)
HSVhsv(292, 36%, 48%)
CMYKcmyk(4.9%, 35.8%, 0%, 51.8%)
CIE-LABlab(39.25, 24.06, -18.62)
CIE-LCHlch(39.25, 30.42, 322.26°)
OKLaboklab(48.59% 0.0648 -0.0508)
OKLCHoklch(48.59% 0.082 321.9)
XYZxyz(13.7068, 10.8044, 20.0985)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754F7B #557B4F
analogous
#5F4F7B #754F7B #7B4F6B
triadic
#754F7B #7B754F #4F7B75
tetradic
#754F7B #7B5F4F #557B4F #4F6B7B
square
#754F7B #7B5F4F #557B4F #4F6B7B
split-complementary
#754F7B #6B7B4F #4F7B5F
monochromatic
#2E1F30 #523756 #754F7B #97699E #B18EB6

Accessibility & contrast

On white

6.64
#754F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#754F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754F7B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754F7B#FFFFFF#000000##FFFFFF
##754F7B1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5A7D
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#76545F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #754f7b;
/* rgb */ color: rgb(117, 79, 123);
/* oklch */ color: oklch(48.6% 0.082 321.9);
Tailwind
colors: {
  custom: {
    50: '#9d81a1',
    500: '#754f7b',
    950: '#000000',
  },
}
SCSS
$custom: #754f7b;
$custom-light: #9d81a1;
$custom-dark: #000000;
JSON
{
  "hex": "#754f7b",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 123
  },
  "hsl": {
    "h": 291.818,
    "s": 21.782,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48589,
    "c": 0.08233,
    "h": 321.9
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#754F7B
secondary
#87A382
accent
#BE6975
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0E0A0F
muted
#7E7C7E

Preview Lab

Preview with #754F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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