#754D97#754D97

#754D97 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.7% C 0.121 H 307.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#754D97
RGBrgb(117, 77, 151)
HSLhsl(272, 32%, 45%)
HSVhsv(272, 49%, 59%)
CMYKcmyk(22.5%, 49%, 0%, 40.8%)
CIE-LABlab(40.12, 31.71, -34.30)
CIE-LCHlch(40.12, 46.71, 312.75°)
OKLaboklab(49.69% 0.0736 -0.0959)
OKLCHoklch(49.69% 0.121 307.5)
XYZxyz(15.5748, 11.3242, 30.6375)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754D97 #6F974D
analogous
#504D97 #754D97 #974D94
triadic
#754D97 #97754D #4D9775
tetradic
#754D97 #97504D #6F974D #4D9497
square
#754D97 #97504D #6F974D #4D9497
split-complementary
#754D97 #94974D #4D9750
monochromatic
#362446 #56386E #754D97 #946DB4 #B195C9

Accessibility & contrast

On white

6.43
#754D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#754D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754D97
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754D97#FFFFFF#000000##FFFFFF
##754D971.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D9A
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#70596B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #754d97;
/* rgb */ color: rgb(117, 77, 151);
/* oklch */ color: oklch(49.7% 0.121 307.5);
Tailwind
colors: {
  custom: {
    50: '#9e80b6',
    500: '#754d97',
    950: '#000000',
  },
}
SCSS
$custom: #754d97;
$custom-light: #9e80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#754d97",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 272.432,
    "s": 32.456,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49687,
    "c": 0.12086,
    "h": 307.5
  },
  "luminance": 0.11324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #754D97

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

Preview Lab → · Contrast checker → · Palette generator →

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