#754C8A#754C8A

#754C8A is a mid, moderate violet. Relative luminance 0.108; OKLCH L 48.8% C 0.106 H 313.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#754C8A
RGBrgb(117, 76, 138)
HSLhsl(280, 29%, 42%)
HSVhsv(280, 45%, 54%)
CMYKcmyk(15.2%, 44.9%, 0%, 45.9%)
CIE-LABlab(39.22, 29.20, -27.85)
CIE-LCHlch(39.22, 40.35, 316.36°)
OKLaboklab(48.79% 0.073 -0.0772)
OKLCHoklch(48.79% 0.106 313.4)
XYZxyz(14.5072, 10.7861, 25.3575)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754C8A #618A4C
analogous
#564C8A #754C8A #8A4C80
triadic
#754C8A #8A754C #4C8A75
tetradic
#754C8A #8A564C #618A4C #4C808A
square
#754C8A #8A564C #618A4C #4C808A
split-complementary
#754C8A #808A4C #4C8A56
monochromatic
#32213B #543663 #754C8A #9568AC #B08FC1

Accessibility & contrast

On white

6.65
#754C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754C8A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754C8A#FFFFFF#000000##FFFFFF
##754C8A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8C
Deuteranopia (green-blind)
#4B5D88
Tritanopia (blue-blind)
#735564
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #754c8a;
/* rgb */ color: rgb(117, 76, 138);
/* oklch */ color: oklch(48.8% 0.106 313.4);
Tailwind
colors: {
  custom: {
    50: '#9e7fac',
    500: '#754c8a',
    950: '#000000',
  },
}
SCSS
$custom: #754c8a;
$custom-light: #9e7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#754c8a",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 279.677,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48793,
    "c": 0.10625,
    "h": 313.4
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#754C8A
secondary
#92AE84
accent
#C56384
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #754C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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