#754CC6#754CC6

#754CC6 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.181 H 294.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#754CC6
RGBrgb(117, 76, 198)
HSLhsl(260, 52%, 54%)
HSVhsv(260, 62%, 78%)
CMYKcmyk(40.9%, 61.6%, 0%, 22.4%)
CIE-LABlab(42.80, 44.48, -57.77)
CIE-LCHlch(42.80, 72.91, 307.59°)
OKLaboklab(52.6% 0.0763 -0.1646)
OKLCHoklch(52.6% 0.181 294.9)
XYZxyz(20.1109, 13.0275, 54.8701)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CC6 #9DC64C
analogous
#4C60C6 #754CC6 #B24CC6
triadic
#754CC6 #C6754C #4CC675
tetradic
#754CC6 #C64C60 #9DC64C #4CC6B2
square
#754CC6 #C64C60 #9DC64C #4CC6B2
split-complementary
#754CC6 #C6B24C #60C64C
monochromatic
#3F2573 #5833A1 #754CC6 #997AD5 #BDA9E4

Accessibility & contrast

On white

5.82
#754CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#754CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CC6
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CC6#FFFFFF#000000##FFFFFF
##754CC61.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CA
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#606782
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754cc6;
/* rgb */ color: rgb(117, 76, 198);
/* oklch */ color: oklch(52.6% 0.181 294.9);
Tailwind
colors: {
  custom: {
    50: '#a280d8',
    500: '#754cc6',
    950: '#000000',
  },
}
SCSS
$custom: #754cc6;
$custom-light: #a280d8;
$custom-dark: #000000;
JSON
{
  "hex": "#754cc6",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 198
  },
  "hsl": {
    "h": 260.164,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52595,
    "c": 0.18146,
    "h": 294.9
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

primary
#754CC6
secondary
#BFD19D
accent
#DB4DAB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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