#754F7C#754F7C

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

Color values

HEX#754F7C
RGBrgb(117, 79, 124)
HSLhsl(291, 22%, 40%)
HSVhsv(291, 36%, 49%)
CMYKcmyk(5.6%, 36.3%, 0%, 51.4%)
CIE-LABlab(39.29, 24.28, -19.17)
CIE-LCHlch(39.29, 30.93, 321.71°)
OKLaboklab(48.64% 0.0651 -0.0524)
OKLCHoklch(48.64% 0.084 321.2)
XYZxyz(13.7697, 10.8295, 20.4298)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754F7C #567C4F
analogous
#5F4F7C #754F7C #7C4F6C
triadic
#754F7C #7C754F #4F7C75
tetradic
#754F7C #7C5F4F #567C4F #4F6C7C
square
#754F7C #7C5F4F #567C4F #4F6C7C
split-complementary
#754F7C #6C7C4F #4F7C5F
monochromatic
#2E1F31 #523757 #754F7C #97699F #B18EB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##754F7C#FFFFFF#000000##FFFFFF
##754F7C1.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)
#4A5A7E
Deuteranopia (green-blind)
#535E7B
Tritanopia (blue-blind)
#765460
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #754f7c;
/* rgb */ color: rgb(117, 79, 124);
/* oklch */ color: oklch(48.6% 0.084 321.2);
Tailwind
colors: {
  custom: {
    50: '#9d81a2',
    500: '#754f7c',
    950: '#000000',
  },
}
SCSS
$custom: #754f7c;
$custom-light: #9d81a2;
$custom-dark: #000000;
JSON
{
  "hex": "#754f7c",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 290.667,
    "s": 22.167,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48636,
    "c": 0.0835,
    "h": 321.2
  },
  "luminance": 0.10829
}

Semantic roles & 50–950 ramp

primary
#754F7C
secondary
#88A483
accent
#BF6976
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0E0A0F
muted
#7E7C7E

Preview Lab

Preview with #754F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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