#754D9F#754D9F

#754D9F is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.131 H 304.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#754D9F
RGBrgb(117, 77, 159)
HSLhsl(269, 35%, 46%)
HSVhsv(269, 52%, 62%)
CMYKcmyk(26.4%, 51.6%, 0%, 37.6%)
CIE-LABlab(40.56, 33.69, -38.40)
CIE-LCHlch(40.56, 51.08, 311.26°)
OKLaboklab(50.16% 0.0745 -0.1078)
OKLCHoklch(50.16% 0.131 304.6)
XYZxyz(16.2467, 11.5929, 34.1759)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754D9F #779F4D
analogous
#4D4E9F #754D9F #9E4D9F
triadic
#754D9F #9F754D #4D9F75
tetradic
#754D9F #9F4D4E #779F4D #4D9F9E
square
#754D9F #9F4D4E #779F4D #4D9F9E
split-complementary
#754D9F #9F9E4D #4E9F4D
monochromatic
#38254D #573976 #754D9F #9470BA #B399CE

Accessibility & contrast

On white

6.33
#754D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#754D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754D9F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754D9F#FFFFFF#000000##FFFFFF
##754D9F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA2
Deuteranopia (green-blind)
#3F609D
Tritanopia (blue-blind)
#6E5C6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754d9f;
/* rgb */ color: rgb(117, 77, 159);
/* oklch */ color: oklch(50.2% 0.131 304.6);
Tailwind
colors: {
  custom: {
    50: '#9f80bc',
    500: '#754d9f',
    950: '#000000',
  },
}
SCSS
$custom: #754d9f;
$custom-light: #9f80bc;
$custom-dark: #000000;
JSON
{
  "hex": "#754d9f",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 269.268,
    "s": 34.746,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.13105,
    "h": 304.6
  },
  "luminance": 0.11593
}

Semantic roles & 50–950 ramp

primary
#754D9F
secondary
#A4BA8E
accent
#CB5D95
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A12
muted
#7E7C81

Preview Lab

Preview with #754D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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