#754AA4#754AA4

#754AA4 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.142 H 303.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#754AA4
RGBrgb(117, 74, 164)
HSLhsl(269, 38%, 47%)
HSVhsv(269, 55%, 64%)
CMYKcmyk(28.7%, 54.9%, 0%, 35.7%)
CIE-LABlab(40.18, 36.68, -41.99)
CIE-LCHlch(40.18, 55.76, 311.14°)
OKLaboklab(49.97% 0.079 -0.1183)
OKLCHoklch(49.97% 0.142 303.7)
XYZxyz(16.4843, 11.3598, 36.4390)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AA4 #79A44A
analogous
#4A4CA4 #754AA4 #A24AA4
triadic
#754AA4 #A4754A #4AA475
tetradic
#754AA4 #A44A4C #79A44A #4AA4A2
square
#754AA4 #A44A4C #79A44A #4AA4A2
split-complementary
#754AA4 #A4A24A #4CA44A
monochromatic
#392450 #57377A #754AA4 #946EBD #B398D0

Accessibility & contrast

On white

6.42
#754AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#754AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AA4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AA4#FFFFFF#000000##FFFFFF
##754AA41.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA7
Deuteranopia (green-blind)
#385FA2
Tritanopia (blue-blind)
#6D5B70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #754aa4;
/* rgb */ color: rgb(117, 74, 164);
/* oklch */ color: oklch(50.0% 0.142 303.7);
Tailwind
colors: {
  custom: {
    50: '#9f7ebf',
    500: '#754aa4',
    950: '#000000',
  },
}
SCSS
$custom: #754aa4;
$custom-light: #9f7ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#754aa4",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 268.667,
    "s": 37.815,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49969,
    "c": 0.14229,
    "h": 303.7
  },
  "luminance": 0.1136
}

Semantic roles & 50–950 ramp

primary
#754AA4
secondary
#A6BD8D
accent
#CE5A96
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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