#754F99#754F99

#754F99 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 50.1% C 0.120 H 306.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#754F99
RGBrgb(117, 79, 153)
HSLhsl(271, 32%, 45%)
HSVhsv(271, 48%, 60%)
CMYKcmyk(23.5%, 48.4%, 0%, 40%)
CIE-LABlab(40.69, 31.02, -34.60)
CIE-LCHlch(40.69, 46.47, 311.88°)
OKLaboklab(50.15% 0.0709 -0.0967)
OKLCHoklch(50.15% 0.12 306.2)
XYZxyz(15.8807, 11.6739, 31.5475)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754F99 #73994F
analogous
#504F99 #754F99 #994F98
triadic
#754F99 #99754F #4F9975
tetradic
#754F99 #99504F #73994F #4F9899
square
#754F99 #99504F #73994F #4F9899
split-complementary
#754F99 #98994F #4F9950
monochromatic
#372548 #563A71 #754F99 #9470B5 #B298CA

Accessibility & contrast

On white

6.30
#754F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#754F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754F99
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754F99#FFFFFF#000000##FFFFFF
##754F991.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5F9C
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#6F5C6D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754f99;
/* rgb */ color: rgb(117, 79, 153);
/* oklch */ color: oklch(50.1% 0.120 306.2);
Tailwind
colors: {
  custom: {
    50: '#9e81b7',
    500: '#754f99',
    950: '#000000',
  },
}
SCSS
$custom: #754f99;
$custom-light: #9e81b7;
$custom-dark: #000000;
JSON
{
  "hex": "#754f99",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 270.811,
    "s": 31.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50148,
    "c": 0.11996,
    "h": 306.2
  },
  "luminance": 0.11674
}

Semantic roles & 50–950 ramp

primary
#754F99
secondary
#A1B78D
accent
#C86092
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A11
muted
#7E7C80

Preview Lab

Preview with #754F99

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

Preview Lab → · Contrast checker → · Palette generator →

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