#754F8D#754F8D

#754F8D is a mid, moderate violet. Relative luminance 0.113; OKLCH L 49.5% C 0.105 H 311.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#754F8D
RGBrgb(117, 79, 141)
HSLhsl(277, 28%, 43%)
HSVhsv(277, 44%, 55%)
CMYKcmyk(17%, 44%, 0%, 44.7%)
CIE-LABlab(40.08, 28.13, -28.32)
CIE-LCHlch(40.08, 39.92, 314.80°)
OKLaboklab(49.49% 0.069 -0.0786)
OKLCHoklch(49.49% 0.105 311.3)
XYZxyz(14.9390, 11.2972, 26.5877)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754F8D #678D4F
analogous
#564F8D #754F8D #8D4F86
triadic
#754F8D #8D754F #4F8D75
tetradic
#754F8D #8D564F #678D4F #4F868D
square
#754F8D #8D564F #678D4F #4F868D
split-complementary
#754F8D #868D4F #4F8D56
monochromatic
#34233F #543966 #754F8D #946CAD #B194C3

Accessibility & contrast

On white

6.44
#754F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#754F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754F8D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754F8D#FFFFFF#000000##FFFFFF
##754F8D1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D8F
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#725867
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #754f8d;
/* rgb */ color: rgb(117, 79, 141);
/* oklch */ color: oklch(49.5% 0.105 311.3);
Tailwind
colors: {
  custom: {
    50: '#9e81ae',
    500: '#754f8d',
    950: '#000000',
  },
}
SCSS
$custom: #754f8d;
$custom-light: #9e81ae;
$custom-dark: #000000;
JSON
{
  "hex": "#754f8d",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 276.774,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49485,
    "c": 0.10455,
    "h": 311.3
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#754F8D
secondary
#97AF88
accent
#C46389
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #754F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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