#754A97#754A97

#754A97 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.2% C 0.126 H 308.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#754A97
RGBrgb(117, 74, 151)
HSLhsl(274, 34%, 44%)
HSVhsv(274, 51%, 59%)
CMYKcmyk(22.5%, 51%, 0%, 40.8%)
CIE-LABlab(39.44, 33.46, -35.38)
CIE-LCHlch(39.44, 48.70, 313.40°)
OKLaboklab(49.18% 0.078 -0.099)
OKLCHoklch(49.18% 0.126 308.2)
XYZxyz(15.3697, 10.9140, 30.5691)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754A97 #6C974A
analogous
#4F4A97 #754A97 #974A93
triadic
#754A97 #97754A #4A9775
tetradic
#754A97 #974F4A #6C974A #4A9397
square
#754A97 #974F4A #6C974A #4A9397
split-complementary
#754A97 #93974A #4A974F
monochromatic
#352245 #55366E #754A97 #9469B5 #B192CA

Accessibility & contrast

On white

6.60
#754A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#754A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754A97
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754A97#FFFFFF#000000##FFFFFF
##754A971.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9A
Deuteranopia (green-blind)
#425D95
Tritanopia (blue-blind)
#705769
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #754a97;
/* rgb */ color: rgb(117, 74, 151);
/* oklch */ color: oklch(49.2% 0.126 308.2);
Tailwind
colors: {
  custom: {
    50: '#9f7eb6',
    500: '#754a97',
    950: '#000000',
  },
}
SCSS
$custom: #754a97;
$custom-light: #9f7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#754a97",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 273.506,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49176,
    "c": 0.12603,
    "h": 308.2
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#754A97
secondary
#9CB687
accent
#CA5D8E
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A11
muted
#7E7C80

Preview Lab

Preview with #754A97

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

Preview Lab → · Contrast checker → · Palette generator →

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