#754AC4#754AC4

#754AC4 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.182 H 295.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#754AC4
RGBrgb(117, 74, 196)
HSLhsl(261, 51%, 53%)
HSVhsv(261, 62%, 77%)
CMYKcmyk(40.3%, 62.2%, 0%, 23.1%)
CIE-LABlab(42.25, 45.04, -57.50)
CIE-LCHlch(42.25, 73.04, 308.07°)
OKLaboklab(52.15% 0.0787 -0.1638)
OKLCHoklch(52.15% 0.182 295.7)
XYZxyz(19.7461, 12.6646, 53.6180)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AC4 #99C44A
analogous
#4A5CC4 #754AC4 #B24AC4
triadic
#754AC4 #C4754A #4AC475
tetradic
#754AC4 #C44A5C #99C44A #4AC4B2
square
#754AC4 #C44A5C #99C44A #4AC4B2
split-complementary
#754AC4 #C4B24A #5CC44A
monochromatic
#3F246F #59339D #754AC4 #9878D3 #BBA6E2

Accessibility & contrast

On white

5.94
#754AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#754AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AC4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AC4#FFFFFF#000000##FFFFFF
##754AC41.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#616580
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754ac4;
/* rgb */ color: rgb(117, 74, 196);
/* oklch */ color: oklch(52.1% 0.182 295.7);
Tailwind
colors: {
  custom: {
    50: '#a27fd7',
    500: '#754ac4',
    950: '#000000',
  },
}
SCSS
$custom: #754ac4;
$custom-light: #a27fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#754ac4",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 196
  },
  "hsl": {
    "h": 261.148,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5215,
    "c": 0.18177,
    "h": 295.7
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#754AC4
secondary
#BDCF9B
accent
#DA4DA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #754AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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