#754AAA#754AAA

#754AAA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.150 H 302.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#754AAA
RGBrgb(117, 74, 170)
HSLhsl(267, 39%, 48%)
HSVhsv(267, 56%, 67%)
CMYKcmyk(31.2%, 56.5%, 0%, 33.3%)
CIE-LABlab(40.54, 38.21, -44.98)
CIE-LCHlch(40.54, 59.02, 310.34°)
OKLaboklab(50.35% 0.0793 -0.1271)
OKLCHoklch(50.35% 0.15 302)
XYZxyz(17.0389, 11.5817, 39.3602)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AAA #7FAA4A
analogous
#4A4FAA #754AAA #A54AAA
triadic
#754AAA #AA754A #4AAA75
tetradic
#754AAA #AA4A4F #7FAA4A #4AAAA5
square
#754AAA #AA4A4F #7FAA4A #4AAAA5
split-complementary
#754AAA #AAA54A #4FAA4A
monochromatic
#3A2555 #58377F #754AAA #9470C1 #B49BD3

Accessibility & contrast

On white

6.33
#754AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#754AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AAA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AAA#FFFFFF#000000##FFFFFF
##754AAA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#335FA8
Tritanopia (blue-blind)
#6B5D73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754aaa;
/* rgb */ color: rgb(117, 74, 170);
/* oklch */ color: oklch(50.4% 0.150 302.0);
Tailwind
colors: {
  custom: {
    50: '#a07ec4',
    500: '#754aaa',
    950: '#000000',
  },
}
SCSS
$custom: #754aaa;
$custom-light: #a07ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#754aaa",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 266.875,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50354,
    "c": 0.14978,
    "h": 302
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#754AAA
secondary
#AAC090
accent
#CF599A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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