#754ABE#754ABE

#754ABE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.174 H 296.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#754ABE
RGBrgb(117, 74, 190)
HSLhsl(262, 47%, 52%)
HSVhsv(262, 61%, 75%)
CMYKcmyk(38.4%, 61.1%, 0%, 25.5%)
CIE-LABlab(41.84, 43.44, -54.67)
CIE-LCHlch(41.84, 69.83, 308.47°)
OKLaboklab(51.72% 0.0791 -0.1555)
OKLCHoklch(51.72% 0.174 296.9)
XYZxyz(19.0768, 12.3969, 50.0930)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754ABE #93BE4A
analogous
#4A59BE #754ABE #AF4ABE
triadic
#754ABE #BE754A #4ABE75
tetradic
#754ABE #BE4A59 #93BE4A #4ABEAF
square
#754ABE #BE4A59 #93BE4A #4ABEAF
split-complementary
#754ABE #BEAF4A #59BE4A
monochromatic
#3E2568 #593695 #754ABE #9777CE #BAA4DE

Accessibility & contrast

On white

6.04
#754ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#754ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754ABE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754ABE#FFFFFF#000000##FFFFFF
##754ABE1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#1461BB
Tritanopia (blue-blind)
#63637D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754abe;
/* rgb */ color: rgb(117, 74, 190);
/* oklch */ color: oklch(51.7% 0.174 296.9);
Tailwind
colors: {
  custom: {
    50: '#a27ed2',
    500: '#754abe',
    950: '#000000',
  },
}
SCSS
$custom: #754abe;
$custom-light: #a27ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#754abe",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 262.241,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.17447,
    "h": 296.9
  },
  "luminance": 0.12397
}

Semantic roles & 50–950 ramp

primary
#754ABE
secondary
#B8CB98
accent
#D751A5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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