#754D8D#754D8D

#754D8D is a mid, moderate violet. Relative luminance 0.110; OKLCH L 49.1% C 0.108 H 311.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#754D8D
RGBrgb(117, 77, 141)
HSLhsl(278, 29%, 43%)
HSVhsv(278, 45%, 55%)
CMYKcmyk(17%, 45.4%, 0%, 44.7%)
CIE-LABlab(39.60, 29.31, -29.07)
CIE-LCHlch(39.60, 41.28, 315.24°)
OKLaboklab(49.13% 0.0721 -0.0807)
OKLCHoklch(49.13% 0.108 311.8)
XYZxyz(14.7969, 11.0130, 26.5404)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754D8D #658D4D
analogous
#554D8D #754D8D #8D4D85
triadic
#754D8D #8D754D #4D8D75
tetradic
#754D8D #8D554D #658D4D #4D858D
square
#754D8D #8D554D #658D4D #4D858D
split-complementary
#754D8D #858D4D #4D8D55
monochromatic
#33223E #543765 #754D8D #946AAD #B091C3

Accessibility & contrast

On white

6.56
#754D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#754D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754D8D
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754D8D#FFFFFF#000000##FFFFFF
##754D8D1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8F
Deuteranopia (green-blind)
#4A5E8B
Tritanopia (blue-blind)
#735766
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #754d8d;
/* rgb */ color: rgb(117, 77, 141);
/* oklch */ color: oklch(49.1% 0.108 311.8);
Tailwind
colors: {
  custom: {
    50: '#9e80ae',
    500: '#754d8d',
    950: '#000000',
  },
}
SCSS
$custom: #754d8d;
$custom-light: #9e80ae;
$custom-dark: #000000;
JSON
{
  "hex": "#754d8d",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 277.5,
    "s": 29.358,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4913,
    "c": 0.10818,
    "h": 311.8
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#754D8D
secondary
#96AF86
accent
#C66287
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #754D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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