#754FA7#754FA7

#754FA7 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.0% C 0.138 H 301.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#754FA7
RGBrgb(117, 79, 167)
HSLhsl(266, 36%, 48%)
HSVhsv(266, 53%, 65%)
CMYKcmyk(29.9%, 52.7%, 0%, 34.5%)
CIE-LABlab(41.48, 34.56, -41.71)
CIE-LCHlch(41.48, 54.17, 309.64°)
OKLaboklab(50.98% 0.0724 -0.1175)
OKLCHoklch(50.98% 0.138 301.6)
XYZxyz(17.1056, 12.1638, 37.9984)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FA7 #81A74F
analogous
#4F55A7 #754FA7 #A14FA7
triadic
#754FA7 #A7754F #4FA775
tetradic
#754FA7 #A74F55 #81A74F #4FA7A1
square
#754FA7 #A74F55 #81A74F #4FA7A1
split-complementary
#754FA7 #A7A14F #55A74F
monochromatic
#3B2854 #583B7D #754FA7 #9575BE #B59FD2

Accessibility & contrast

On white

6.12
#754FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754FA7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FA7#FFFFFF#000000##FFFFFF
##754FA71.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161AA
Deuteranopia (green-blind)
#3C61A5
Tritanopia (blue-blind)
#6B6073
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754fa7;
/* rgb */ color: rgb(117, 79, 167);
/* oklch */ color: oklch(51.0% 0.138 301.6);
Tailwind
colors: {
  custom: {
    50: '#9f81c1',
    500: '#754fa7',
    950: '#000000',
  },
}
SCSS
$custom: #754fa7;
$custom-light: #9f81c1;
$custom-dark: #000000;
JSON
{
  "hex": "#754fa7",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 265.909,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50984,
    "c": 0.13802,
    "h": 301.6
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

primary
#754FA7
secondary
#ACBE93
accent
#CC5C9C
background
#FAF8FB
surface
#F3EFF7
border
#CDCAD0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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