#754AC1#754AC1

#754AC1 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.178 H 296.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#754AC1
RGBrgb(117, 74, 193)
HSLhsl(262, 49%, 52%)
HSVhsv(262, 62%, 76%)
CMYKcmyk(39.4%, 61.7%, 0%, 24.3%)
CIE-LABlab(42.05, 44.24, -56.09)
CIE-LCHlch(42.05, 71.43, 308.26°)
OKLaboklab(51.93% 0.0789 -0.1597)
OKLCHoklch(51.93% 0.178 296.3)
XYZxyz(19.4080, 12.5294, 51.8376)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AC1 #96C14A
analogous
#4A5AC1 #754AC1 #B14AC1
triadic
#754AC1 #C1754A #4AC175
tetradic
#754AC1 #C14A5A #96C14A #4AC1B1
square
#754AC1 #C14A5A #96C14A #4AC1B1
split-complementary
#754AC1 #C1B14A #5AC14A
monochromatic
#3E256C #593599 #754AC1 #9878D1 #BBA5E0

Accessibility & contrast

On white

5.99
#754AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#754AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AC1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AC1#FFFFFF#000000##FFFFFF
##754AC11.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#0962BE
Tritanopia (blue-blind)
#62647E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754ac1;
/* rgb */ color: rgb(117, 74, 193);
/* oklch */ color: oklch(51.9% 0.178 296.3);
Tailwind
colors: {
  custom: {
    50: '#a27fd4',
    500: '#754ac1',
    950: '#000000',
  },
}
SCSS
$custom: #754ac1;
$custom-light: #a27fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#754ac1",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 193
  },
  "hsl": {
    "h": 261.681,
    "s": 48.971,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51933,
    "c": 0.17812,
    "h": 296.3
  },
  "luminance": 0.1253
}

Semantic roles & 50–950 ramp

primary
#754AC1
secondary
#BBCD99
accent
#D94FA7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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