#754AC3#754AC3

#754AC3 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.181 H 295.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#754AC3
RGBrgb(117, 74, 195)
HSLhsl(261, 50%, 53%)
HSVhsv(261, 62%, 76%)
CMYKcmyk(40%, 62.1%, 0%, 23.5%)
CIE-LABlab(42.18, 44.77, -57.03)
CIE-LCHlch(42.18, 72.50, 308.13°)
OKLaboklab(52.08% 0.0788 -0.1625)
OKLCHoklch(52.08% 0.181 295.9)
XYZxyz(19.6327, 12.6192, 53.0206)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AC3 #98C34A
analogous
#4A5CC3 #754AC3 #B14AC3
triadic
#754AC3 #C3754A #4AC375
tetradic
#754AC3 #C34A5C #98C34A #4AC3B1
square
#754AC3 #C34A5C #98C34A #4AC3B1
split-complementary
#754AC3 #C3B14A #5CC34A
monochromatic
#3F246E #59349C #754AC3 #9878D2 #BBA6E1

Accessibility & contrast

On white

5.96
#754AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#754AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AC3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AC3#FFFFFF#000000##FFFFFF
##754AC31.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0062C0
Tritanopia (blue-blind)
#61657F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754ac3;
/* rgb */ color: rgb(117, 74, 195);
/* oklch */ color: oklch(52.1% 0.181 295.9);
Tailwind
colors: {
  custom: {
    50: '#a27fd6',
    500: '#754ac3',
    950: '#000000',
  },
}
SCSS
$custom: #754ac3;
$custom-light: #a27fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#754ac3",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 261.322,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52077,
    "c": 0.18056,
    "h": 295.9
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#754AC3
secondary
#BCCF9A
accent
#DA4EA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #754AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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