#754CB5#754CB5

#754CB5 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.4% C 0.160 H 298.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#754CB5
RGBrgb(117, 76, 181)
HSLhsl(263, 42%, 50%)
HSVhsv(263, 58%, 71%)
CMYKcmyk(35.4%, 58%, 0%, 29%)
CIE-LABlab(41.67, 39.93, -49.68)
CIE-LCHlch(41.67, 63.74, 308.79°)
OKLaboklab(51.4% 0.0769 -0.1408)
OKLCHoklch(51.4% 0.16 298.6)
XYZxyz(18.2590, 12.2868, 45.1167)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CB5 #8CB54C
analogous
#4C57B5 #754CB5 #AA4CB5
triadic
#754CB5 #B5754C #4CB575
tetradic
#754CB5 #B54C57 #8CB54C #4CB5AA
square
#754CB5 #B54C57 #8CB54C #4CB5AA
split-complementary
#754CB5 #B5AA4C #57B54C
monochromatic
#3D275F #59398B #754CB5 #9677C7 #B8A3D9

Accessibility & contrast

On white

6.07
#754CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#754CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CB5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CB5#FFFFFF#000000##FFFFFF
##754CB51.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1762B8
Deuteranopia (green-blind)
#2961B3
Tritanopia (blue-blind)
#676279
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754cb5;
/* rgb */ color: rgb(117, 76, 181);
/* oklch */ color: oklch(51.4% 0.160 298.6);
Tailwind
colors: {
  custom: {
    50: '#a180cc',
    500: '#754cb5',
    950: '#000000',
  },
}
SCSS
$custom: #754cb5;
$custom-light: #a180cc;
$custom-dark: #000000;
JSON
{
  "hex": "#754cb5",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 263.429,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51402,
    "c": 0.16045,
    "h": 298.6
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#754CB5
secondary
#B4C697
accent
#D156A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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