#754A9D#754A9D

#754A9D is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.5% C 0.134 H 306.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#754A9D
RGBrgb(117, 74, 157)
HSLhsl(271, 36%, 45%)
HSVhsv(271, 53%, 62%)
CMYKcmyk(25.5%, 52.9%, 0%, 38.4%)
CIE-LABlab(39.77, 34.93, -38.46)
CIE-LCHlch(39.77, 51.95, 312.25°)
OKLaboklab(49.54% 0.0786 -0.108)
OKLCHoklch(49.54% 0.134 306)
XYZxyz(15.8694, 11.1139, 33.2009)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754A9D #729D4A
analogous
#4B4A9D #754A9D #9D4A9C
triadic
#754A9D #9D754A #4A9D75
tetradic
#754A9D #9D4B4A #729D4A #4A9C9D
square
#754A9D #9D4B4A #729D4A #4A9C9D
split-complementary
#754A9D #9C9D4A #4A9D4B
monochromatic
#37234A #563673 #754A9D #946BB9 #B295CD

Accessibility & contrast

On white

6.52
#754A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#754A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754A9D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754A9D#FFFFFF#000000##FFFFFF
##754A9D1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305CA0
Deuteranopia (green-blind)
#3E5E9B
Tritanopia (blue-blind)
#6F596C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #754a9d;
/* rgb */ color: rgb(117, 74, 157);
/* oklch */ color: oklch(49.5% 0.134 306.0);
Tailwind
colors: {
  custom: {
    50: '#9f7eba',
    500: '#754a9d',
    950: '#000000',
  },
}
SCSS
$custom: #754a9d;
$custom-light: #9f7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#754a9d",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 157
  },
  "hsl": {
    "h": 271.084,
    "s": 35.931,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49535,
    "c": 0.13353,
    "h": 306
  },
  "luminance": 0.11114
}

Semantic roles & 50–950 ramp

primary
#754A9D
secondary
#A1B98A
accent
#CC5C92
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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