#754AB2#754AB2

#754AB2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.160 H 299.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#754AB2
RGBrgb(117, 74, 178)
HSLhsl(265, 41%, 49%)
HSVhsv(265, 58%, 70%)
CMYKcmyk(34.3%, 58.4%, 0%, 30.2%)
CIE-LABlab(41.05, 40.27, -48.91)
CIE-LCHlch(41.05, 63.36, 309.47°)
OKLaboklab(50.89% 0.0794 -0.1386)
OKLCHoklch(50.89% 0.16 299.8)
XYZxyz(17.8188, 11.8937, 43.4678)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AB2 #87B24A
analogous
#4A53B2 #754AB2 #A94AB2
triadic
#754AB2 #B2754A #4AB275
tetradic
#754AB2 #B24A53 #87B24A #4AB2A9
square
#754AB2 #B24A53 #87B24A #4AB2A9
split-complementary
#754AB2 #B2A94A #53B24A
monochromatic
#3C265C #593887 #754AB2 #9674C5 #B69FD7

Accessibility & contrast

On white

6.22
#754AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#754AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AB2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AB2#FFFFFF#000000##FFFFFF
##754AB21.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1661B5
Deuteranopia (green-blind)
#2A60B0
Tritanopia (blue-blind)
#685F77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754ab2;
/* rgb */ color: rgb(117, 74, 178);
/* oklch */ color: oklch(50.9% 0.160 299.8);
Tailwind
colors: {
  custom: {
    50: '#a07eca',
    500: '#754ab2',
    950: '#000000',
  },
}
SCSS
$custom: #754ab2;
$custom-light: #a07eca;
$custom-dark: #000000;
JSON
{
  "hex": "#754ab2",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 264.808,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.15972,
    "h": 299.8
  },
  "luminance": 0.11894
}

Semantic roles & 50–950 ramp

primary
#754AB2
secondary
#B0C494
accent
#D1579E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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