#754EA4#754EA4

#754EA4 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.6% C 0.136 H 302.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#754EA4
RGBrgb(117, 78, 164)
HSLhsl(267, 36%, 47%)
HSVhsv(267, 52%, 64%)
CMYKcmyk(28.7%, 52.4%, 0%, 35.7%)
CIE-LABlab(41.07, 34.37, -40.57)
CIE-LCHlch(41.07, 53.17, 310.27°)
OKLaboklab(50.63% 0.0735 -0.1142)
OKLCHoklch(50.63% 0.136 302.8)
XYZxyz(16.7598, 11.9110, 36.5309)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EA4 #7DA44E
analogous
#4E52A4 #754EA4 #A04EA4
triadic
#754EA4 #A4754E #4EA475
tetradic
#754EA4 #A44E52 #7DA44E #4EA4A0
square
#754EA4 #A44E52 #7DA44E #4EA4A0
split-complementary
#754EA4 #A4A04E #52A44E
monochromatic
#3A2751 #573A7B #754EA4 #9473BC #B49CD0

Accessibility & contrast

On white

6.21
#754EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#754EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EA4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EA4#FFFFFF#000000##FFFFFF
##754EA41.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#3D61A2
Tritanopia (blue-blind)
#6C5E71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754ea4;
/* rgb */ color: rgb(117, 78, 164);
/* oklch */ color: oklch(50.6% 0.136 302.8);
Tailwind
colors: {
  custom: {
    50: '#9f81bf',
    500: '#754ea4',
    950: '#000000',
  },
}
SCSS
$custom: #754ea4;
$custom-light: #9f81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#754ea4",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 267.209,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5063,
    "c": 0.1358,
    "h": 302.8
  },
  "luminance": 0.11911
}

Semantic roles & 50–950 ramp

primary
#754EA4
secondary
#A9BD91
accent
#CC5C99
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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