#754A8A#754A8A

#754A8A is a mid, moderate purple. Relative luminance 0.105; OKLCH L 48.4% C 0.110 H 313.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#754A8A
RGBrgb(117, 74, 138)
HSLhsl(280, 30%, 42%)
HSVhsv(280, 46%, 54%)
CMYKcmyk(15.2%, 46.4%, 0%, 45.9%)
CIE-LABlab(38.75, 30.38, -28.58)
CIE-LCHlch(38.75, 41.71, 316.75°)
OKLaboklab(48.44% 0.0761 -0.0793)
OKLCHoklch(48.44% 0.11 313.8)
XYZxyz(14.3716, 10.5148, 25.3123)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754A8A #5F8A4A
analogous
#554A8A #754A8A #8A4A7F
triadic
#754A8A #8A754A #4A8A75
tetradic
#754A8A #8A554A #5F8A4A #4A7F8A
square
#754A8A #8A554A #5F8A4A #4A7F8A
split-complementary
#754A8A #7F8A4A #4A8A55
monochromatic
#311F3A #533562 #754A8A #9565AC #B08DC2

Accessibility & contrast

On white

6.77
#754A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#754A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754A8A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754A8A#FFFFFF#000000##FFFFFF
##754A8A1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598C
Deuteranopia (green-blind)
#495C88
Tritanopia (blue-blind)
#735363
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #754a8a;
/* rgb */ color: rgb(117, 74, 138);
/* oklch */ color: oklch(48.4% 0.110 313.8);
Tailwind
colors: {
  custom: {
    50: '#9e7eac',
    500: '#754a8a',
    950: '#000000',
  },
}
SCSS
$custom: #754a8a;
$custom-light: #9e7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#754a8a",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 280.313,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48443,
    "c": 0.1099,
    "h": 313.8
  },
  "luminance": 0.10514
}

Semantic roles & 50–950 ramp

primary
#754A8A
secondary
#90AE82
accent
#C66183
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #754A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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