#754EB5#754EB5

#754EB5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.7% C 0.157 H 298.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#754EB5
RGBrgb(117, 78, 181)
HSLhsl(263, 41%, 51%)
HSVhsv(263, 57%, 71%)
CMYKcmyk(35.4%, 56.9%, 0%, 29%)
CIE-LABlab(42.10, 38.79, -48.98)
CIE-LCHlch(42.10, 62.48, 308.38°)
OKLaboklab(51.72% 0.0743 -0.1388)
OKLCHoklch(51.72% 0.157 298.2)
XYZxyz(18.3989, 12.5667, 45.1634)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EB5 #8EB54E
analogous
#4E5AB5 #754EB5 #A84EB5
triadic
#754EB5 #B5754E #4EB575
tetradic
#754EB5 #B54E5A #8EB54E #4EB5A8
square
#754EB5 #B54E5A #8EB54E #4EB5A8
split-complementary
#754EB5 #B5A84E #5AB54E
monochromatic
#3D2860 #593A8B #754EB5 #9779C7 #B8A4D9

Accessibility & contrast

On white

5.98
#754EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754EB5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EB5#FFFFFF#000000##FFFFFF
##754EB51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D64B8
Deuteranopia (green-blind)
#2C62B3
Tritanopia (blue-blind)
#67637A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754eb5;
/* rgb */ color: rgb(117, 78, 181);
/* oklch */ color: oklch(51.7% 0.157 298.2);
Tailwind
colors: {
  custom: {
    50: '#a181cc',
    500: '#754eb5',
    950: '#000000',
  },
}
SCSS
$custom: #754eb5;
$custom-light: #a181cc;
$custom-dark: #000000;
JSON
{
  "hex": "#754eb5",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 262.718,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.15745,
    "h": 298.2
  },
  "luminance": 0.12567
}

Semantic roles & 50–950 ramp

primary
#754EB5
secondary
#B5C699
accent
#D157A3
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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