#754E8A#754E8A

#754E8A is a mid, moderate violet. Relative luminance 0.111; OKLCH L 49.1% C 0.103 H 313.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#754E8A
RGBrgb(117, 78, 138)
HSLhsl(279, 28%, 42%)
HSVhsv(279, 43%, 54%)
CMYKcmyk(15.2%, 43.5%, 0%, 45.9%)
CIE-LABlab(39.69, 28.02, -27.11)
CIE-LCHlch(39.69, 38.98, 315.95°)
OKLaboklab(49.15% 0.0699 -0.075)
OKLCHoklch(49.15% 0.103 313)
XYZxyz(14.6472, 11.0660, 25.4042)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754E8A #638A4E
analogous
#574E8A #754E8A #8A4E81
triadic
#754E8A #8A754E #4E8A75
tetradic
#754E8A #8A574E #638A4E #4E818A
square
#754E8A #8A574E #638A4E #4E818A
split-complementary
#754E8A #818A4E #4E8A57
monochromatic
#33223C #543863 #754E8A #946AAB #B091C1

Accessibility & contrast

On white

6.54
#754E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#754E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754E8A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754E8A#FFFFFF#000000##FFFFFF
##754E8A1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#735765
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #754e8a;
/* rgb */ color: rgb(117, 78, 138);
/* oklch */ color: oklch(49.1% 0.103 313.0);
Tailwind
colors: {
  custom: {
    50: '#9e80ac',
    500: '#754e8a',
    950: '#000000',
  },
}
SCSS
$custom: #754e8a;
$custom-light: #9e80ac;
$custom-dark: #000000;
JSON
{
  "hex": "#754e8a",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 279,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49148,
    "c": 0.10259,
    "h": 313
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#754E8A
secondary
#94AE86
accent
#C46485
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #754E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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