#754AC6#754AC6

#754AC6 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.184 H 295.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#754AC6
RGBrgb(117, 74, 198)
HSLhsl(261, 52%, 53%)
HSVhsv(261, 63%, 78%)
CMYKcmyk(40.9%, 62.6%, 0%, 22.4%)
CIE-LABlab(42.39, 45.58, -58.43)
CIE-LCHlch(42.39, 74.11, 307.95°)
OKLaboklab(52.3% 0.0786 -0.1666)
OKLCHoklch(52.3% 0.184 295.2)
XYZxyz(19.9753, 12.7562, 54.8249)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AC6 #9BC64A
analogous
#4A5DC6 #754AC6 #B34AC6
triadic
#754AC6 #C6754A #4AC675
tetradic
#754AC6 #C64A5D #9BC64A #4AC6B3
square
#754AC6 #C64A5D #9BC64A #4AC6B3
split-complementary
#754AC6 #C6B34A #5DC64A
monochromatic
#3F2472 #5932A0 #754AC6 #9879D5 #BCA7E3

Accessibility & contrast

On white

5.91
#754AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#754AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AC6
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AC6#FFFFFF#000000##FFFFFF
##754AC61.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#606681
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754ac6;
/* rgb */ color: rgb(117, 74, 198);
/* oklch */ color: oklch(52.3% 0.184 295.2);
Tailwind
colors: {
  custom: {
    50: '#a27fd8',
    500: '#754ac6',
    950: '#000000',
  },
}
SCSS
$custom: #754ac6;
$custom-light: #a27fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#754ac6",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 198
  },
  "hsl": {
    "h": 260.806,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52296,
    "c": 0.18418,
    "h": 295.2
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#754AC6
secondary
#BED19B
accent
#DC4CAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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