#754C8E#754C8E

#754C8E is a mid, moderate violet. Relative luminance 0.109; OKLCH L 49.0% C 0.111 H 311.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#754C8E
RGBrgb(117, 76, 142)
HSLhsl(277, 30%, 43%)
HSVhsv(277, 46%, 56%)
CMYKcmyk(17.6%, 46.5%, 0%, 44.3%)
CIE-LABlab(39.42, 30.14, -29.96)
CIE-LCHlch(39.42, 42.50, 315.16°)
OKLaboklab(49.01% 0.0738 -0.0833)
OKLCHoklch(49.01% 0.111 311.5)
XYZxyz(14.8022, 10.9041, 26.9109)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754C8E #658E4C
analogous
#544C8E #754C8E #8E4C86
triadic
#754C8E #8E754C #4C8E75
tetradic
#754C8E #8E544C #658E4C #4C868E
square
#754C8E #8E544C #658E4C #4C868E
split-complementary
#754C8E #868E4C #4C8E54
monochromatic
#33213E #543766 #754C8E #9469AF #B091C4

Accessibility & contrast

On white

6.60
#754C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#754C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754C8E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754C8E#FFFFFF#000000##FFFFFF
##754C8E1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B90
Deuteranopia (green-blind)
#495E8C
Tritanopia (blue-blind)
#725666
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #754c8e;
/* rgb */ color: rgb(117, 76, 142);
/* oklch */ color: oklch(49.0% 0.111 311.5);
Tailwind
colors: {
  custom: {
    50: '#9e7faf',
    500: '#754c8e',
    950: '#000000',
  },
}
SCSS
$custom: #754c8e;
$custom-light: #9e7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#754c8e",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 277.273,
    "s": 30.275,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49008,
    "c": 0.11125,
    "h": 311.5
  },
  "luminance": 0.10904
}

Semantic roles & 50–950 ramp

primary
#754C8E
secondary
#96B086
accent
#C76188
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #754C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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