#754CA4#754CA4

#754CA4 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.3% C 0.139 H 303.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#754CA4
RGBrgb(117, 76, 164)
HSLhsl(268, 37%, 47%)
HSVhsv(268, 54%, 64%)
CMYKcmyk(28.7%, 53.7%, 0%, 35.7%)
CIE-LABlab(40.62, 35.53, -41.29)
CIE-LCHlch(40.62, 54.47, 310.71°)
OKLaboklab(50.3% 0.0763 -0.1163)
OKLCHoklch(50.3% 0.139 303.3)
XYZxyz(16.6199, 11.6311, 36.4842)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CA4 #7BA44C
analogous
#4C4FA4 #754CA4 #A14CA4
triadic
#754CA4 #A4754C #4CA475
tetradic
#754CA4 #A44C4F #7BA44C #4CA4A1
square
#754CA4 #A44C4F #7BA44C #4CA4A1
split-complementary
#754CA4 #A4A14C #4FA44C
monochromatic
#392550 #57397A #754CA4 #9470BD #B39AD0

Accessibility & contrast

On white

6.31
#754CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#754CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CA4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CA4#FFFFFF#000000##FFFFFF
##754CA41.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA7
Deuteranopia (green-blind)
#3A60A2
Tritanopia (blue-blind)
#6C5C71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754ca4;
/* rgb */ color: rgb(117, 76, 164);
/* oklch */ color: oklch(50.3% 0.139 303.3);
Tailwind
colors: {
  custom: {
    50: '#9f7fbf',
    500: '#754ca4',
    950: '#000000',
  },
}
SCSS
$custom: #754ca4;
$custom-light: #9f7fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#754ca4",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 267.955,
    "s": 36.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50297,
    "c": 0.13906,
    "h": 303.3
  },
  "luminance": 0.11631
}

Semantic roles & 50–950 ramp

primary
#754CA4
secondary
#A7BD8F
accent
#CD5B98
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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