#754C97#754C97

#754C97 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.5% C 0.123 H 307.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#754C97
RGBrgb(117, 76, 151)
HSLhsl(273, 33%, 45%)
HSVhsv(273, 50%, 59%)
CMYKcmyk(22.5%, 49.7%, 0%, 40.8%)
CIE-LABlab(39.89, 32.29, -34.66)
CIE-LCHlch(39.89, 47.37, 312.98°)
OKLaboklab(49.52% 0.0751 -0.0969)
OKLCHoklch(49.52% 0.123 307.8)
XYZxyz(15.5054, 11.1853, 30.6143)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754C97 #6E974C
analogous
#4F4C97 #754C97 #974C94
triadic
#754C97 #97754C #4C9775
tetradic
#754C97 #974F4C #6E974C #4C9497
square
#754C97 #974F4C #6E974C #4C9497
split-complementary
#754C97 #94974C #4C974F
monochromatic
#362346 #55386E #754C97 #946BB5 #B194C9

Accessibility & contrast

On white

6.49
#754C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754C97
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754C97#FFFFFF#000000##FFFFFF
##754C971.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#445E95
Tritanopia (blue-blind)
#70596A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #754c97;
/* rgb */ color: rgb(117, 76, 151);
/* oklch */ color: oklch(49.5% 0.123 307.8);
Tailwind
colors: {
  custom: {
    50: '#9f7fb6',
    500: '#754c97',
    950: '#000000',
  },
}
SCSS
$custom: #754c97;
$custom-light: #9f7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#754c97",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 272.8,
    "s": 33.04,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49515,
    "c": 0.12259,
    "h": 307.8
  },
  "luminance": 0.11185
}

Semantic roles & 50–950 ramp

primary
#754C97
secondary
#9DB689
accent
#C95F8F
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A11
muted
#7E7C80

Preview Lab

Preview with #754C97

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

Preview Lab → · Contrast checker → · Palette generator →

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