#754EA0#754EA0

#754EA0 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.4% C 0.131 H 304.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#754EA0
RGBrgb(117, 78, 160)
HSLhsl(269, 34%, 47%)
HSVhsv(269, 51%, 63%)
CMYKcmyk(26.9%, 51.2%, 0%, 37.3%)
CIE-LABlab(40.85, 33.36, -38.55)
CIE-LCHlch(40.85, 50.97, 310.87°)
OKLaboklab(50.39% 0.0732 -0.1082)
OKLCHoklch(50.39% 0.131 304.1)
XYZxyz(16.4043, 11.7688, 34.6583)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EA0 #79A04E
analogous
#4E50A0 #754EA0 #9E4EA0
triadic
#754EA0 #A0754E #4EA075
tetradic
#754EA0 #A04E50 #79A04E #4EA09E
square
#754EA0 #A04E50 #79A04E #4EA09E
split-complementary
#754EA0 #A09E4E #50A04E
monochromatic
#39264E #573A77 #754EA0 #9471BA #B39ACE

Accessibility & contrast

On white

6.26
#754EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#754EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EA0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EA0#FFFFFF#000000##FFFFFF
##754EA01.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA3
Deuteranopia (green-blind)
#40609E
Tritanopia (blue-blind)
#6E5D6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754ea0;
/* rgb */ color: rgb(117, 78, 160);
/* oklch */ color: oklch(50.4% 0.131 304.1);
Tailwind
colors: {
  custom: {
    50: '#9f81bc',
    500: '#754ea0',
    950: '#000000',
  },
}
SCSS
$custom: #754ea0;
$custom-light: #9f81bc;
$custom-dark: #000000;
JSON
{
  "hex": "#754ea0",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 268.537,
    "s": 34.454,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50387,
    "c": 0.13067,
    "h": 304.1
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#754EA0
secondary
#A6BB8F
accent
#CB5D97
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A12
muted
#7E7C81

Preview Lab

Preview with #754EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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