#754E97#754E97

#754E97 is a mid, moderate violet. Relative luminance 0.115; OKLCH L 49.9% C 0.119 H 307.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#754E97
RGBrgb(117, 78, 151)
HSLhsl(272, 32%, 45%)
HSVhsv(272, 48%, 59%)
CMYKcmyk(22.5%, 48.3%, 0%, 40.8%)
CIE-LABlab(40.35, 31.12, -33.93)
CIE-LCHlch(40.35, 46.04, 312.53°)
OKLaboklab(49.86% 0.0721 -0.0948)
OKLCHoklch(49.86% 0.119 307.3)
XYZxyz(15.6453, 11.4652, 30.6610)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754E97 #70974E
analogous
#514E97 #754E97 #974E95
triadic
#754E97 #97754E #4E9775
tetradic
#754E97 #97514E #70974E #4E9597
square
#754E97 #97514E #70974E #4E9597
split-complementary
#754E97 #95974E #4E9751
monochromatic
#362446 #56396F #754E97 #936EB4 #B196C9

Accessibility & contrast

On white

6.38
#754E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#754E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754E97
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754E97#FFFFFF#000000##FFFFFF
##754E971.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9A
Deuteranopia (green-blind)
#456095
Tritanopia (blue-blind)
#705A6B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #754e97;
/* rgb */ color: rgb(117, 78, 151);
/* oklch */ color: oklch(49.9% 0.119 307.3);
Tailwind
colors: {
  custom: {
    50: '#9e80b6',
    500: '#754e97',
    950: '#000000',
  },
}
SCSS
$custom: #754e97;
$custom-light: #9e80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#754e97",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 272.055,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4986,
    "c": 0.11911,
    "h": 307.3
  },
  "luminance": 0.11465
}

Semantic roles & 50–950 ramp

primary
#754E97
secondary
#9FB68B
accent
#C86090
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A11
muted
#7E7C80

Preview Lab

Preview with #754E97

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

Preview Lab → · Contrast checker → · Palette generator →

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