#754AC9#754AC9

#754AC9 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.188 H 294.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#754AC9
RGBrgb(117, 74, 201)
HSLhsl(260, 54%, 54%)
HSVhsv(260, 63%, 79%)
CMYKcmyk(41.8%, 63.2%, 0%, 21.2%)
CIE-LABlab(42.61, 46.38, -59.83)
CIE-LCHlch(42.61, 75.70, 307.79°)
OKLaboklab(52.52% 0.0783 -0.1707)
OKLCHoklch(52.52% 0.188 294.6)
XYZxyz(20.3247, 12.8960, 56.6653)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AC9 #9EC94A
analogous
#4A5FC9 #754AC9 #B54AC9
triadic
#754AC9 #C9754A #4AC975
tetradic
#754AC9 #C94A5F #9EC94A #4AC9B5
square
#754AC9 #C94A5F #9EC94A #4AC9B5
split-complementary
#754AC9 #C9B54A #5FC94A
monochromatic
#3F2376 #5831A5 #754AC9 #9979D7 #BDA8E5

Accessibility & contrast

On white

5.87
#754AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#754AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AC9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AC9#FFFFFF#000000##FFFFFF
##754AC91.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#5F6783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754ac9;
/* rgb */ color: rgb(117, 74, 201);
/* oklch */ color: oklch(52.5% 0.188 294.6);
Tailwind
colors: {
  custom: {
    50: '#a37fda',
    500: '#754ac9',
    950: '#000000',
  },
}
SCSS
$custom: #754ac9;
$custom-light: #a37fda;
$custom-dark: #000000;
JSON
{
  "hex": "#754ac9",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 201
  },
  "hsl": {
    "h": 260.315,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52517,
    "c": 0.18781,
    "h": 294.6
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#754AC9
secondary
#C0D29C
accent
#DD4AAC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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