#754C99#754C99

#754C99 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.6% C 0.125 H 307.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#754C99
RGBrgb(117, 76, 153)
HSLhsl(272, 34%, 45%)
HSVhsv(272, 50%, 60%)
CMYKcmyk(23.5%, 50.3%, 0%, 40%)
CIE-LABlab(40.00, 32.78, -35.69)
CIE-LCHlch(40.00, 48.46, 312.57°)
OKLaboklab(49.63% 0.0753 -0.0999)
OKLCHoklch(49.63% 0.125 307)
XYZxyz(15.6692, 11.2509, 31.4770)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754C99 #70994C
analogous
#4F4C99 #754C99 #994C96
triadic
#754C99 #99754C #4C9975
tetradic
#754C99 #994F4C #70994C #4C9699
square
#754C99 #994F4C #70994C #4C9699
split-complementary
#754C99 #96994C #4C994F
monochromatic
#362347 #563870 #754C99 #936CB6 #B195CA

Accessibility & contrast

On white

6.46
#754C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#754C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754C99
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754C99#FFFFFF#000000##FFFFFF
##754C991.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9C
Deuteranopia (green-blind)
#425F97
Tritanopia (blue-blind)
#70596B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #754c99;
/* rgb */ color: rgb(117, 76, 153);
/* oklch */ color: oklch(49.6% 0.125 307.0);
Tailwind
colors: {
  custom: {
    50: '#9f7fb7',
    500: '#754c99',
    950: '#000000',
  },
}
SCSS
$custom: #754c99;
$custom-light: #9f7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#754c99",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 271.948,
    "s": 33.624,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49632,
    "c": 0.12512,
    "h": 307
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#754C99
secondary
#9FB78A
accent
#CA5E90
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A11
muted
#7E7C80

Preview Lab

Preview with #754C99

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

Preview Lab → · Contrast checker → · Palette generator →

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