#754C98#754C98

#754C98 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.6% C 0.124 H 307.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#754C98
RGBrgb(117, 76, 152)
HSLhsl(272, 33%, 45%)
HSVhsv(272, 50%, 60%)
CMYKcmyk(23%, 50%, 0%, 40.4%)
CIE-LABlab(39.95, 32.54, -35.18)
CIE-LCHlch(39.95, 47.92, 312.77°)
OKLaboklab(49.57% 0.0752 -0.0984)
OKLCHoklch(49.57% 0.124 307.4)
XYZxyz(15.5869, 11.2180, 31.0438)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754C98 #6F984C
analogous
#4F4C98 #754C98 #984C95
triadic
#754C98 #98754C #4C9875
tetradic
#754C98 #984F4C #6F984C #4C9598
square
#754C98 #984F4C #6F984C #4C9598
split-complementary
#754C98 #95984C #4C984F
monochromatic
#362346 #56386F #754C98 #946CB5 #B195CA

Accessibility & contrast

On white

6.47
#754C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#754C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754C98
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754C98#FFFFFF#000000##FFFFFF
##754C981.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9B
Deuteranopia (green-blind)
#435F96
Tritanopia (blue-blind)
#70596B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #754c98;
/* rgb */ color: rgb(117, 76, 152);
/* oklch */ color: oklch(49.6% 0.124 307.4);
Tailwind
colors: {
  custom: {
    50: '#9f7fb7',
    500: '#754c98',
    950: '#000000',
  },
}
SCSS
$custom: #754c98;
$custom-light: #9f7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#754c98",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 272.368,
    "s": 33.333,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49573,
    "c": 0.12385,
    "h": 307.4
  },
  "luminance": 0.11218
}

Semantic roles & 50–950 ramp

primary
#754C98
secondary
#9EB68A
accent
#C95E90
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A11
muted
#7E7C80

Preview Lab

Preview with #754C98

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

Preview Lab → · Contrast checker → · Palette generator →

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