#754CC5#754CC5

#754CC5 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.180 H 295.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#754CC5
RGBrgb(117, 76, 197)
HSLhsl(260, 51%, 54%)
HSVhsv(260, 61%, 77%)
CMYKcmyk(40.6%, 61.4%, 0%, 22.7%)
CIE-LABlab(42.74, 44.20, -57.30)
CIE-LCHlch(42.74, 72.37, 307.65°)
OKLaboklab(52.52% 0.0764 -0.1633)
OKLCHoklch(52.52% 0.18 295.1)
XYZxyz(19.9959, 12.9816, 54.2647)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CC5 #9CC54C
analogous
#4C5FC5 #754CC5 #B24CC5
triadic
#754CC5 #C5754C #4CC575
tetradic
#754CC5 #C54C5F #9CC54C #4CC5B2
square
#754CC5 #C54C5F #9CC54C #4CC5B2
split-complementary
#754CC5 #C5B24C #5FC54C
monochromatic
#3F2572 #5834A0 #754CC5 #997AD4 #BCA8E3

Accessibility & contrast

On white

5.84
#754CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#754CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CC5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CC5#FFFFFF#000000##FFFFFF
##754CC51.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0163C2
Tritanopia (blue-blind)
#606781
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754cc5;
/* rgb */ color: rgb(117, 76, 197);
/* oklch */ color: oklch(52.5% 0.180 295.1);
Tailwind
colors: {
  custom: {
    50: '#a280d7',
    500: '#754cc5',
    950: '#000000',
  },
}
SCSS
$custom: #754cc5;
$custom-light: #a280d7;
$custom-dark: #000000;
JSON
{
  "hex": "#754cc5",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 260.331,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52522,
    "c": 0.18024,
    "h": 295.1
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#754CC5
secondary
#BFD09C
accent
#DB4DAB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #754CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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