#754AB8#754AB8

#754AB8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.167 H 298.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#754AB8
RGBrgb(117, 74, 184)
HSLhsl(263, 44%, 51%)
HSVhsv(263, 60%, 72%)
CMYKcmyk(36.4%, 59.8%, 0%, 27.8%)
CIE-LABlab(41.44, 41.85, -51.81)
CIE-LCHlch(41.44, 66.60, 308.93°)
OKLaboklab(51.3% 0.0793 -0.1471)
OKLCHoklch(51.3% 0.167 298.3)
XYZxyz(18.4345, 12.1399, 46.7101)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AB8 #8DB84A
analogous
#4A56B8 #754AB8 #AC4AB8
triadic
#754AB8 #B8754A #4AB875
tetradic
#754AB8 #B84A56 #8DB84A #4AB8AC
square
#754AB8 #B84A56 #8DB84A #4AB8AC
split-complementary
#754AB8 #B8AC4A #56B84A
monochromatic
#3D2661 #59378D #754AB8 #9776C9 #B8A2DA

Accessibility & contrast

On white

6.13
#754AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#754AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AB8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AB8#FFFFFF#000000##FFFFFF
##754AB81.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0362BC
Deuteranopia (green-blind)
#2161B6
Tritanopia (blue-blind)
#66617A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754ab8;
/* rgb */ color: rgb(117, 74, 184);
/* oklch */ color: oklch(51.3% 0.167 298.3);
Tailwind
colors: {
  custom: {
    50: '#a17ece',
    500: '#754ab8',
    950: '#000000',
  },
}
SCSS
$custom: #754ab8;
$custom-light: #a17ece;
$custom-dark: #000000;
JSON
{
  "hex": "#754ab8",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 184
  },
  "hsl": {
    "h": 263.455,
    "s": 43.651,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51296,
    "c": 0.16712,
    "h": 298.3
  },
  "luminance": 0.1214
}

Semantic roles & 50–950 ramp

primary
#754AB8
secondary
#B4C796
accent
#D354A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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