#754EAA#754EAA

#754EAA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.0% C 0.143 H 301.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#754EAA
RGBrgb(117, 78, 170)
HSLhsl(265, 37%, 49%)
HSVhsv(265, 54%, 67%)
CMYKcmyk(31.2%, 54.1%, 0%, 33.3%)
CIE-LABlab(41.43, 35.91, -43.57)
CIE-LCHlch(41.43, 56.46, 309.50°)
OKLaboklab(51.01% 0.074 -0.1229)
OKLCHoklch(51.01% 0.143 301)
XYZxyz(17.3145, 12.1329, 39.4521)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EAA #83AA4E
analogous
#4E55AA #754EAA #A34EAA
triadic
#754EAA #AA754E #4EAA75
tetradic
#754EAA #AA4E55 #83AA4E #4EAAA3
square
#754EAA #AA4E55 #83AA4E #4EAAA3
split-complementary
#754EAA #AAA34E #55AA4E
monochromatic
#3B2856 #583B80 #754EAA #9575C0 #B59FD3

Accessibility & contrast

On white

6.13
#754EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#754EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EAA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EAA#FFFFFF#000000##FFFFFF
##754EAA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AD
Deuteranopia (green-blind)
#3861A8
Tritanopia (blue-blind)
#6B6074
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754eaa;
/* rgb */ color: rgb(117, 78, 170);
/* oklch */ color: oklch(51.0% 0.143 301.0);
Tailwind
colors: {
  custom: {
    50: '#a081c4',
    500: '#754eaa',
    950: '#000000',
  },
}
SCSS
$custom: #754eaa;
$custom-light: #a081c4;
$custom-dark: #000000;
JSON
{
  "hex": "#754eaa",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 265.435,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51005,
    "c": 0.14348,
    "h": 301
  },
  "luminance": 0.12133
}

Semantic roles & 50–950 ramp

primary
#754EAA
secondary
#ADC094
accent
#CD5B9D
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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