#754AB4#754AB4

#754AB4 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.162 H 299.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#754AB4
RGBrgb(117, 74, 180)
HSLhsl(264, 42%, 50%)
HSVhsv(264, 59%, 71%)
CMYKcmyk(35%, 58.9%, 0%, 29.4%)
CIE-LABlab(41.18, 40.80, -49.88)
CIE-LCHlch(41.18, 64.44, 309.28°)
OKLaboklab(51.02% 0.0794 -0.1414)
OKLCHoklch(51.02% 0.162 299.3)
XYZxyz(18.0211, 11.9746, 44.5331)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AB4 #89B44A
analogous
#4A54B4 #754AB4 #AA4AB4
triadic
#754AB4 #B4754A #4AB475
tetradic
#754AB4 #B44A54 #89B44A #4AB4AA
square
#754AB4 #B44A54 #89B44A #4AB4AA
split-complementary
#754AB4 #B4AA4A #54B44A
monochromatic
#3D265D #593889 #754AB4 #9675C6 #B7A0D8

Accessibility & contrast

On white

6.19
#754AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#754AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AB4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AB4#FFFFFF#000000##FFFFFF
##754AB41.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1161B7
Deuteranopia (green-blind)
#2760B2
Tritanopia (blue-blind)
#676078
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754ab4;
/* rgb */ color: rgb(117, 74, 180);
/* oklch */ color: oklch(51.0% 0.162 299.3);
Tailwind
colors: {
  custom: {
    50: '#a17ecb',
    500: '#754ab4',
    950: '#000000',
  },
}
SCSS
$custom: #754ab4;
$custom-light: #a17ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#754ab4",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 264.34,
    "s": 41.732,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51021,
    "c": 0.16219,
    "h": 299.3
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#754AB4
secondary
#B1C595
accent
#D256A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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