#754D9E#754D9E

#754D9E is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.1% C 0.130 H 305.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#754D9E
RGBrgb(117, 77, 158)
HSLhsl(270, 34%, 46%)
HSVhsv(270, 51%, 62%)
CMYKcmyk(25.9%, 51.3%, 0%, 38%)
CIE-LABlab(40.51, 33.44, -37.89)
CIE-LCHlch(40.51, 50.53, 311.43°)
OKLaboklab(50.1% 0.0744 -0.1063)
OKLCHoklch(50.1% 0.13 305)
XYZxyz(16.1602, 11.5584, 33.7208)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754D9E #769E4D
analogous
#4D4D9E #754D9E #9D4D9E
triadic
#754D9E #9E754D #4D9E75
tetradic
#754D9E #9E4D4D #769E4D #4D9E9D
square
#754D9E #9E4D4D #769E4D #4D9E9D
split-complementary
#754D9E #9E9D4D #4D9E4D
monochromatic
#38254C #573975 #754D9E #946FB9 #B298CD

Accessibility & contrast

On white

6.34
#754D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#754D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754D9E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754D9E#FFFFFF#000000##FFFFFF
##754D9E1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA1
Deuteranopia (green-blind)
#40609C
Tritanopia (blue-blind)
#6E5B6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #754d9e;
/* rgb */ color: rgb(117, 77, 158);
/* oklch */ color: oklch(50.1% 0.130 305.0);
Tailwind
colors: {
  custom: {
    50: '#9f80bb',
    500: '#754d9e',
    950: '#000000',
  },
}
SCSS
$custom: #754d9e;
$custom-light: #9f80bb;
$custom-dark: #000000;
JSON
{
  "hex": "#754d9e",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 269.63,
    "s": 34.468,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.12979,
    "h": 305
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#754D9E
secondary
#A4BA8D
accent
#CB5D95
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A12
muted
#7E7C81

Preview Lab

Preview with #754D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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