#754FA4#754FA4

#754FA4 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 50.8% C 0.134 H 302.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#754FA4
RGBrgb(117, 79, 164)
HSLhsl(267, 35%, 48%)
HSVhsv(267, 52%, 64%)
CMYKcmyk(28.7%, 51.8%, 0%, 35.7%)
CIE-LABlab(41.30, 33.79, -40.21)
CIE-LCHlch(41.30, 52.52, 310.04°)
OKLaboklab(50.8% 0.0722 -0.1131)
OKLCHoklch(50.8% 0.134 302.5)
XYZxyz(16.8314, 12.0542, 36.5547)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FA4 #7EA44F
analogous
#4F53A4 #754FA4 #A04FA4
triadic
#754FA4 #A4754F #4FA475
tetradic
#754FA4 #A44F53 #7EA44F #4FA4A0
square
#754FA4 #A44F53 #7EA44F #4FA4A0
split-complementary
#754FA4 #A4A04F #53A44F
monochromatic
#3A2751 #583B7B #754FA4 #9474BC #B49DD0

Accessibility & contrast

On white

6.16
#754FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#754FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FA4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FA4#FFFFFF#000000##FFFFFF
##754FA41.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A7
Deuteranopia (green-blind)
#3E61A2
Tritanopia (blue-blind)
#6C5F72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754fa4;
/* rgb */ color: rgb(117, 79, 164);
/* oklch */ color: oklch(50.8% 0.134 302.5);
Tailwind
colors: {
  custom: {
    50: '#9f81bf',
    500: '#754fa4',
    950: '#000000',
  },
}
SCSS
$custom: #754fa4;
$custom-light: #9f81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#754fa4",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 266.824,
    "s": 34.979,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50799,
    "c": 0.13415,
    "h": 302.5
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#754FA4
secondary
#AABD92
accent
#CB5D9A
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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