#754B87#754B87

#754B87 is a mid, moderate purple. Relative luminance 0.106; OKLCH L 48.5% C 0.104 H 315.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#754B87
RGBrgb(117, 75, 135)
HSLhsl(282, 29%, 41%)
HSVhsv(282, 44%, 53%)
CMYKcmyk(13.3%, 44.4%, 0%, 47.1%)
CIE-LABlab(38.84, 29.10, -26.61)
CIE-LCHlch(38.84, 39.44, 317.56°)
OKLaboklab(48.46% 0.074 -0.0736)
OKLCHoklch(48.46% 0.104 315.2)
XYZxyz(14.2247, 10.5637, 24.2066)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754B87 #5D874B
analogous
#574B87 #754B87 #874B7B
triadic
#754B87 #87754B #4B8775
tetradic
#754B87 #87574B #5D874B #4B7B87
square
#754B87 #87574B #5D874B #4B7B87
split-complementary
#754B87 #7B874B #4B8757
monochromatic
#311F38 #533560 #754B87 #9565AA #B08DC0

Accessibility & contrast

On white

6.75
#754B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#754B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754B87
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754B87#FFFFFF#000000##FFFFFF
##754B871.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405989
Deuteranopia (green-blind)
#4B5D85
Tritanopia (blue-blind)
#745362
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #754b87;
/* rgb */ color: rgb(117, 75, 135);
/* oklch */ color: oklch(48.5% 0.104 315.2);
Tailwind
colors: {
  custom: {
    50: '#9e7eaa',
    500: '#754b87',
    950: '#000000',
  },
}
SCSS
$custom: #754b87;
$custom-light: #9e7eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#754b87",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 282,
    "s": 28.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48458,
    "c": 0.10439,
    "h": 315.2
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#754B87
secondary
#8FAC82
accent
#C56380
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #754B87

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

Preview Lab → · Contrast checker → · Palette generator →

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