#754F97#754F97

#754F97 is a mid, moderate violet. Relative luminance 0.116; OKLCH L 50.0% C 0.117 H 307.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#754F97
RGBrgb(117, 79, 151)
HSLhsl(272, 31%, 45%)
HSVhsv(272, 48%, 59%)
CMYKcmyk(22.5%, 47.7%, 0%, 40.8%)
CIE-LABlab(40.59, 30.53, -33.56)
CIE-LCHlch(40.59, 45.37, 312.29°)
OKLaboklab(50.03% 0.0707 -0.0937)
OKLCHoklch(50.03% 0.117 307)
XYZxyz(15.7169, 11.6084, 30.6848)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754F97 #71974F
analogous
#514F97 #754F97 #974F95
triadic
#754F97 #97754F #4F9775
tetradic
#754F97 #97514F #71974F #4F9597
square
#754F97 #97514F #71974F #4F9597
split-complementary
#754F97 #95974F #4F9751
monochromatic
#372547 #563A6F #754F97 #946FB4 #B298C9

Accessibility & contrast

On white

6.32
#754F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#754F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754F97
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754F97#FFFFFF#000000##FFFFFF
##754F971.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E9A
Deuteranopia (green-blind)
#466095
Tritanopia (blue-blind)
#705B6C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754f97;
/* rgb */ color: rgb(117, 79, 151);
/* oklch */ color: oklch(50.0% 0.117 307.0);
Tailwind
colors: {
  custom: {
    50: '#9e81b6',
    500: '#754f97',
    950: '#000000',
  },
}
SCSS
$custom: #754f97;
$custom-light: #9e81b6;
$custom-dark: #000000;
JSON
{
  "hex": "#754f97",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 271.667,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.11737,
    "h": 307
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#754F97
secondary
#A0B68C
accent
#C76091
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A11
muted
#7E7C80

Preview Lab

Preview with #754F97

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

Preview Lab → · Contrast checker → · Palette generator →

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