#754AA5#754AA5

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

Color values

HEX#754AA5
RGBrgb(117, 74, 165)
HSLhsl(268, 38%, 47%)
HSVhsv(268, 55%, 65%)
CMYKcmyk(29.1%, 55.2%, 0%, 35.3%)
CIE-LABlab(40.24, 36.93, -42.50)
CIE-LCHlch(40.24, 56.30, 310.99°)
OKLaboklab(50.03% 0.0791 -0.1198)
OKLCHoklch(50.03% 0.144 303.4)
XYZxyz(16.5749, 11.3961, 36.9165)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AA5 #7AA54A
analogous
#4A4DA5 #754AA5 #A34AA5
triadic
#754AA5 #A5754A #4AA575
tetradic
#754AA5 #A54A4D #7AA54A #4AA5A3
square
#754AA5 #A54A4D #7AA54A #4AA5A3
split-complementary
#754AA5 #A5A34A #4DA54A
monochromatic
#392450 #57377B #754AA5 #946EBE #B398D1

Accessibility & contrast

On white

6.40
#754AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754AA5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AA5#FFFFFF#000000##FFFFFF
##754AA51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA8
Deuteranopia (green-blind)
#375FA3
Tritanopia (blue-blind)
#6C5B70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #754aa5;
/* rgb */ color: rgb(117, 74, 165);
/* oklch */ color: oklch(50.0% 0.144 303.4);
Tailwind
colors: {
  custom: {
    50: '#9f7ec0',
    500: '#754aa5',
    950: '#000000',
  },
}
SCSS
$custom: #754aa5;
$custom-light: #9f7ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#754aa5",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 268.352,
    "s": 38.075,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50032,
    "c": 0.14354,
    "h": 303.4
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#754AA5
secondary
#A7BD8E
accent
#CE5A97
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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