#754EB0#754EB0

#754EB0 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.151 H 299.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#754EB0
RGBrgb(117, 78, 176)
HSLhsl(264, 39%, 50%)
HSVhsv(264, 56%, 69%)
CMYKcmyk(33.5%, 55.7%, 0%, 31%)
CIE-LABlab(41.79, 37.48, -46.54)
CIE-LCHlch(41.79, 59.75, 308.84°)
OKLaboklab(51.39% 0.0742 -0.1316)
OKLCHoklch(51.39% 0.151 299.4)
XYZxyz(17.8951, 12.3651, 42.5098)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EB0 #89B04E
analogous
#4E58B0 #754EB0 #A64EB0
triadic
#754EB0 #B0754E #4EB075
tetradic
#754EB0 #B04E58 #89B04E #4EB0A6
square
#754EB0 #B04E58 #89B04E #4EB0A6
split-complementary
#754EB0 #B0A64E #58B04E
monochromatic
#3D285B #593B86 #754EB0 #9678C3 #B7A2D6

Accessibility & contrast

On white

6.05
#754EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#754EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EB0
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EB0#FFFFFF#000000##FFFFFF
##754EB01.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B3
Deuteranopia (green-blind)
#3262AE
Tritanopia (blue-blind)
#696277
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754eb0;
/* rgb */ color: rgb(117, 78, 176);
/* oklch */ color: oklch(51.4% 0.151 299.4);
Tailwind
colors: {
  custom: {
    50: '#a081c8',
    500: '#754eb0',
    950: '#000000',
  },
}
SCSS
$custom: #754eb0;
$custom-light: #a081c8;
$custom-dark: #000000;
JSON
{
  "hex": "#754eb0",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 263.878,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51391,
    "c": 0.15112,
    "h": 299.4
  },
  "luminance": 0.12365
}

Semantic roles & 50–950 ramp

primary
#754EB0
secondary
#B1C397
accent
#CF59A0
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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