#754CA5#754CA5

#754CA5 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.140 H 303.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#754CA5
RGBrgb(117, 76, 165)
HSLhsl(268, 37%, 47%)
HSVhsv(268, 54%, 65%)
CMYKcmyk(29.1%, 53.9%, 0%, 35.3%)
CIE-LABlab(40.68, 35.78, -41.79)
CIE-LCHlch(40.68, 55.02, 310.57°)
OKLaboklab(50.36% 0.0764 -0.1177)
OKLCHoklch(50.36% 0.14 303)
XYZxyz(16.7106, 11.6674, 36.9617)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CA5 #7CA54C
analogous
#4C50A5 #754CA5 #A14CA5
triadic
#754CA5 #A5754C #4CA575
tetradic
#754CA5 #A54C50 #7CA54C #4CA5A1
square
#754CA5 #A54C50 #7CA54C #4CA5A1
split-complementary
#754CA5 #A5A14C #50A54C
monochromatic
#3A2551 #57397B #754CA5 #9471BD #B49BD1

Accessibility & contrast

On white

6.30
#754CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754CA5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CA5#FFFFFF#000000##FFFFFF
##754CA51.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA8
Deuteranopia (green-blind)
#3A60A3
Tritanopia (blue-blind)
#6C5D71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754ca5;
/* rgb */ color: rgb(117, 76, 165);
/* oklch */ color: oklch(50.4% 0.140 303.0);
Tailwind
colors: {
  custom: {
    50: '#9f7fc0',
    500: '#754ca5',
    950: '#000000',
  },
}
SCSS
$custom: #754ca5;
$custom-light: #9f7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#754ca5",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 267.64,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50359,
    "c": 0.14033,
    "h": 303
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #754CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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