#754CC4#754CC4

#754CC4 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.179 H 295.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#754CC4
RGBrgb(117, 76, 196)
HSLhsl(261, 50%, 53%)
HSVhsv(261, 61%, 77%)
CMYKcmyk(40.3%, 61.2%, 0%, 23.1%)
CIE-LABlab(42.67, 43.93, -56.83)
CIE-LCHlch(42.67, 71.83, 307.71°)
OKLaboklab(52.45% 0.0764 -0.1619)
OKLCHoklch(52.45% 0.179 295.3)
XYZxyz(19.8817, 12.9359, 53.6632)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CC4 #9BC44C
analogous
#4C5FC4 #754CC4 #B14CC4
triadic
#754CC4 #C4754C #4CC475
tetradic
#754CC4 #C44C5F #9BC44C #4CC4B1
square
#754CC4 #C44C5F #9BC44C #4CC4B1
split-complementary
#754CC4 #C4B14C #5FC44C
monochromatic
#3F2571 #59349F #754CC4 #987AD3 #BCA8E2

Accessibility & contrast

On white

5.85
#754CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#754CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CC4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CC4#FFFFFF#000000##FFFFFF
##754CC41.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#0663C1
Tritanopia (blue-blind)
#616781
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754cc4;
/* rgb */ color: rgb(117, 76, 196);
/* oklch */ color: oklch(52.4% 0.179 295.3);
Tailwind
colors: {
  custom: {
    50: '#a280d7',
    500: '#754cc4',
    950: '#000000',
  },
}
SCSS
$custom: #754cc4;
$custom-light: #a280d7;
$custom-dark: #000000;
JSON
{
  "hex": "#754cc4",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 260.5,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5245,
    "c": 0.17901,
    "h": 295.3
  },
  "luminance": 0.12936
}

Semantic roles & 50–950 ramp

primary
#754CC4
secondary
#BED09C
accent
#DA4EAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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