#754E99#754E99

#754E99 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.0% C 0.122 H 306.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#754E99
RGBrgb(117, 78, 153)
HSLhsl(271, 32%, 45%)
HSVhsv(271, 49%, 60%)
CMYKcmyk(23.5%, 49%, 0%, 40%)
CIE-LABlab(40.46, 31.61, -34.96)
CIE-LCHlch(40.46, 47.14, 312.12°)
OKLaboklab(49.97% 0.0724 -0.0978)
OKLCHoklch(49.97% 0.122 306.5)
XYZxyz(15.8091, 11.5307, 31.5236)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754E99 #72994E
analogous
#4F4E99 #754E99 #994E98
triadic
#754E99 #99754E #4E9975
tetradic
#754E99 #994F4E #72994E #4E9899
square
#754E99 #994F4E #72994E #4E9899
split-complementary
#754E99 #98994E #4E994F
monochromatic
#372548 #563970 #754E99 #946FB5 #B297CA

Accessibility & contrast

On white

6.35
#754E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#754E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754E99
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754E99#FFFFFF#000000##FFFFFF
##754E991.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9C
Deuteranopia (green-blind)
#446097
Tritanopia (blue-blind)
#705B6C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #754e99;
/* rgb */ color: rgb(117, 78, 153);
/* oklch */ color: oklch(50.0% 0.122 306.5);
Tailwind
colors: {
  custom: {
    50: '#9f80b7',
    500: '#754e99',
    950: '#000000',
  },
}
SCSS
$custom: #754e99;
$custom-light: #9f80b7;
$custom-dark: #000000;
JSON
{
  "hex": "#754e99",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 271.2,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49974,
    "c": 0.12168,
    "h": 306.5
  },
  "luminance": 0.11531
}

Semantic roles & 50–950 ramp

primary
#754E99
secondary
#A1B78C
accent
#C95F92
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A11
muted
#7E7C80

Preview Lab

Preview with #754E99

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

Preview Lab → · Contrast checker → · Palette generator →

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