#754FA0#754FA0

#754FA0 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.6% C 0.129 H 303.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#754FA0
RGBrgb(117, 79, 160)
HSLhsl(268, 34%, 47%)
HSVhsv(268, 51%, 63%)
CMYKcmyk(26.9%, 50.6%, 0%, 37.3%)
CIE-LABlab(41.08, 32.77, -38.18)
CIE-LCHlch(41.08, 50.32, 310.64°)
OKLaboklab(50.56% 0.0718 -0.1072)
OKLCHoklch(50.56% 0.129 303.8)
XYZxyz(16.4759, 11.9120, 34.6821)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FA0 #7AA04F
analogous
#4F52A0 #754FA0 #9E4FA0
triadic
#754FA0 #A0754F #4FA075
tetradic
#754FA0 #A04F52 #7AA04F #4FA09E
square
#754FA0 #A04F52 #7AA04F #4FA09E
split-complementary
#754FA0 #A09E4F #52A04F
monochromatic
#39274E #573B77 #754FA0 #9473BA #B39CCE

Accessibility & contrast

On white

6.21
#754FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#754FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FA0
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FA0#FFFFFF#000000##FFFFFF
##754FA01.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A3
Deuteranopia (green-blind)
#41619E
Tritanopia (blue-blind)
#6E5E70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754fa0;
/* rgb */ color: rgb(117, 79, 160);
/* oklch */ color: oklch(50.6% 0.129 303.8);
Tailwind
colors: {
  custom: {
    50: '#9f81bc',
    500: '#754fa0',
    950: '#000000',
  },
}
SCSS
$custom: #754fa0;
$custom-light: #9f81bc;
$custom-dark: #000000;
JSON
{
  "hex": "#754fa0",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 268.148,
    "s": 33.891,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50558,
    "c": 0.129,
    "h": 303.8
  },
  "luminance": 0.11912
}

Semantic roles & 50–950 ramp

primary
#754FA0
secondary
#A7BB90
accent
#CA5E97
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A12
muted
#7E7C81

Preview Lab

Preview with #754FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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