#754A8D#754A8D

#754A8D is a mid, moderate violet. Relative luminance 0.106; OKLCH L 48.6% C 0.114 H 312.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#754A8D
RGBrgb(117, 74, 141)
HSLhsl(279, 31%, 42%)
HSVhsv(279, 48%, 55%)
CMYKcmyk(17%, 47.5%, 0%, 44.7%)
CIE-LABlab(38.90, 31.08, -30.16)
CIE-LCHlch(38.90, 43.31, 315.85°)
OKLaboklab(48.61% 0.0766 -0.0839)
OKLCHoklch(48.61% 0.114 312.4)
XYZxyz(14.5918, 10.6029, 26.4720)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754A8D #628D4A
analogous
#534A8D #754A8D #8D4A84
triadic
#754A8D #8D754A #4A8D75
tetradic
#754A8D #8D534A #628D4A #4A848D
square
#754A8D #8D534A #628D4A #4A848D
split-complementary
#754A8D #848D4A #4A8D53
monochromatic
#32203D #543565 #754A8D #9466AF #B08EC4

Accessibility & contrast

On white

6.73
#754A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#754A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754A8D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754A8D#FFFFFF#000000##FFFFFF
##754A8D1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598F
Deuteranopia (green-blind)
#475D8B
Tritanopia (blue-blind)
#735465
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #754a8d;
/* rgb */ color: rgb(117, 74, 141);
/* oklch */ color: oklch(48.6% 0.114 312.4);
Tailwind
colors: {
  custom: {
    50: '#9e7eae',
    500: '#754a8d',
    950: '#000000',
  },
}
SCSS
$custom: #754a8d;
$custom-light: #9e7eae;
$custom-dark: #000000;
JSON
{
  "hex": "#754a8d",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 278.507,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48607,
    "c": 0.11359,
    "h": 312.4
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#754A8D
secondary
#93B083
accent
#C76085
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #754A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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