#754AB1#754AB1

#754AB1 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.158 H 300.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#754AB1
RGBrgb(117, 74, 177)
HSLhsl(265, 41%, 49%)
HSVhsv(265, 58%, 69%)
CMYKcmyk(33.9%, 58.2%, 0%, 30.6%)
CIE-LABlab(40.98, 40.01, -48.42)
CIE-LCHlch(40.98, 62.82, 309.57°)
OKLaboklab(50.82% 0.0794 -0.1372)
OKLCHoklch(50.82% 0.158 300.1)
XYZxyz(17.7188, 11.8537, 42.9409)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AB1 #86B14A
analogous
#4A52B1 #754AB1 #A94AB1
triadic
#754AB1 #B1754A #4AB175
tetradic
#754AB1 #B14A52 #86B14A #4AB1A9
square
#754AB1 #B14A52 #86B14A #4AB1A9
split-complementary
#754AB1 #B1A94A #52B14A
monochromatic
#3C265B #583886 #754AB1 #9574C5 #B69FD7

Accessibility & contrast

On white

6.23
#754AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#754AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AB1
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AB1#FFFFFF#000000##FFFFFF
##754AB11.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1860B4
Deuteranopia (green-blind)
#2B60AF
Tritanopia (blue-blind)
#685F76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754ab1;
/* rgb */ color: rgb(117, 74, 177);
/* oklch */ color: oklch(50.8% 0.158 300.1);
Tailwind
colors: {
  custom: {
    50: '#a07ec9',
    500: '#754ab1',
    950: '#000000',
  },
}
SCSS
$custom: #754ab1;
$custom-light: #a07ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#754ab1",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 177
  },
  "hsl": {
    "h": 265.049,
    "s": 41.036,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50817,
    "c": 0.15848,
    "h": 300.1
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #754AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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