#754EB4#754EB4

#754EB4 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.156 H 298.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#754EB4
RGBrgb(117, 78, 180)
HSLhsl(263, 40%, 51%)
HSVhsv(263, 57%, 71%)
CMYKcmyk(35%, 56.7%, 0%, 29.4%)
CIE-LABlab(42.04, 38.53, -48.49)
CIE-LCHlch(42.04, 61.93, 308.47°)
OKLaboklab(51.65% 0.0743 -0.1374)
OKLCHoklch(51.65% 0.156 298.4)
XYZxyz(18.2967, 12.5258, 44.6249)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EB4 #8DB44E
analogous
#4E5AB4 #754EB4 #A84EB4
triadic
#754EB4 #B4754E #4EB475
tetradic
#754EB4 #B44E5A #8DB44E #4EB4A8
square
#754EB4 #B44E5A #8DB44E #4EB4A8
split-complementary
#754EB4 #B4A84E #5AB44E
monochromatic
#3D285F #593B8A #754EB4 #9779C6 #B8A4D8

Accessibility & contrast

On white

5.99
#754EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#754EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EB4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EB4#FFFFFF#000000##FFFFFF
##754EB41.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F63B7
Deuteranopia (green-blind)
#2E62B2
Tritanopia (blue-blind)
#676379
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754eb4;
/* rgb */ color: rgb(117, 78, 180);
/* oklch */ color: oklch(51.7% 0.156 298.4);
Tailwind
colors: {
  custom: {
    50: '#a081cb',
    500: '#754eb4',
    950: '#000000',
  },
}
SCSS
$custom: #754eb4;
$custom-light: #a081cb;
$custom-dark: #000000;
JSON
{
  "hex": "#754eb4",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 262.941,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51655,
    "c": 0.15619,
    "h": 298.4
  },
  "luminance": 0.12526
}

Semantic roles & 50–950 ramp

primary
#754EB4
secondary
#B4C698
accent
#D057A2
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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