#754CAE#754CAE

#754CAE is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.152 H 300.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#754CAE
RGBrgb(117, 76, 174)
HSLhsl(265, 39%, 49%)
HSVhsv(265, 56%, 68%)
CMYKcmyk(32.8%, 56.3%, 0%, 31.8%)
CIE-LABlab(41.23, 38.10, -46.26)
CIE-LCHlch(41.23, 59.93, 309.48°)
OKLaboklab(50.94% 0.0768 -0.1308)
OKLCHoklch(50.94% 0.152 300.4)
XYZxyz(17.5587, 12.0067, 41.4287)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CAE #85AE4C
analogous
#4C54AE #754CAE #A64CAE
triadic
#754CAE #AE754C #4CAE75
tetradic
#754CAE #AE4C54 #85AE4C #4CAEA6
square
#754CAE #AE4C54 #85AE4C #4CAEA6
split-complementary
#754CAE #AEA64C #54AE4C
monochromatic
#3C2759 #583983 #754CAE #9575C3 #B69FD5

Accessibility & contrast

On white

6.17
#754CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#754CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CAE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CAE#FFFFFF#000000##FFFFFF
##754CAE1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#3161AC
Tritanopia (blue-blind)
#696075
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754cae;
/* rgb */ color: rgb(117, 76, 174);
/* oklch */ color: oklch(50.9% 0.152 300.4);
Tailwind
colors: {
  custom: {
    50: '#a07fc7',
    500: '#754cae',
    950: '#000000',
  },
}
SCSS
$custom: #754cae;
$custom-light: #a07fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#754cae",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 265.102,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50936,
    "c": 0.15168,
    "h": 300.4
  },
  "luminance": 0.12007
}

Semantic roles & 50–950 ramp

primary
#754CAE
secondary
#AFC294
accent
#CF599E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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