#754C9D#754C9D

#754C9D is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.9% C 0.130 H 305.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#754C9D
RGBrgb(117, 76, 157)
HSLhsl(270, 35%, 46%)
HSVhsv(270, 52%, 62%)
CMYKcmyk(25.5%, 51.6%, 0%, 38.4%)
CIE-LABlab(40.22, 33.77, -37.74)
CIE-LCHlch(40.22, 50.65, 311.82°)
OKLaboklab(49.87% 0.0757 -0.1059)
OKLCHoklch(49.87% 0.13 305.6)
XYZxyz(16.0051, 11.3852, 33.2461)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754C9D #749D4C
analogous
#4C4C9D #754C9D #9D4C9C
triadic
#754C9D #9D754C #4C9D75
tetradic
#754C9D #9D4C4C #749D4C #4C9C9D
square
#754C9D #9D4C4C #749D4C #4C9C9D
split-complementary
#754C9D #9C9D4C #4C9D4C
monochromatic
#38244B #563874 #754C9D #946EB9 #B297CD

Accessibility & contrast

On white

6.41
#754C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#754C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754C9D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754C9D#FFFFFF#000000##FFFFFF
##754C9D1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345DA0
Deuteranopia (green-blind)
#405F9B
Tritanopia (blue-blind)
#6F5A6D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #754c9d;
/* rgb */ color: rgb(117, 76, 157);
/* oklch */ color: oklch(49.9% 0.130 305.6);
Tailwind
colors: {
  custom: {
    50: '#9f7fba',
    500: '#754c9d',
    950: '#000000',
  },
}
SCSS
$custom: #754c9d;
$custom-light: #9f7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#754c9d",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 270.37,
    "s": 34.764,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49869,
    "c": 0.13019,
    "h": 305.6
  },
  "luminance": 0.11385
}

Semantic roles & 50–950 ramp

primary
#754C9D
secondary
#A2B98C
accent
#CB5D93
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A12
muted
#7E7C81

Preview Lab

Preview with #754C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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