#754FA3#754FA3

#754FA3 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.7% C 0.133 H 302.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#754FA3
RGBrgb(117, 79, 163)
HSLhsl(267, 35%, 47%)
HSVhsv(267, 52%, 64%)
CMYKcmyk(28.2%, 51.5%, 0%, 36.1%)
CIE-LABlab(41.24, 33.53, -39.70)
CIE-LCHlch(41.24, 51.97, 310.18°)
OKLaboklab(50.74% 0.0721 -0.1116)
OKLCHoklch(50.74% 0.133 302.8)
XYZxyz(16.7415, 12.0182, 36.0810)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FA3 #7DA34F
analogous
#4F53A3 #754FA3 #9F4FA3
triadic
#754FA3 #A3754F #4FA375
tetradic
#754FA3 #A34F53 #7DA34F #4FA39F
square
#754FA3 #A34F53 #7DA34F #4FA39F
split-complementary
#754FA3 #A39F4F #53A34F
monochromatic
#3A2751 #573B7A #754FA3 #9474BB #B49DCF

Accessibility & contrast

On white

6.17
#754FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754FA3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FA3#FFFFFF#000000##FFFFFF
##754FA31.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A6
Deuteranopia (green-blind)
#3F61A1
Tritanopia (blue-blind)
#6D5E71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754fa3;
/* rgb */ color: rgb(117, 79, 163);
/* oklch */ color: oklch(50.7% 0.133 302.8);
Tailwind
colors: {
  custom: {
    50: '#9f81bf',
    500: '#754fa3',
    950: '#000000',
  },
}
SCSS
$custom: #754fa3;
$custom-light: #9f81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#754fa3",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 267.143,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50739,
    "c": 0.13287,
    "h": 302.8
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#754FA3
secondary
#A9BC91
accent
#CB5D99
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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