#754CB4#754CB4

#754CB4 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.159 H 298.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#754CB4
RGBrgb(117, 76, 180)
HSLhsl(264, 41%, 50%)
HSVhsv(264, 58%, 71%)
CMYKcmyk(35%, 57.8%, 0%, 29.4%)
CIE-LABlab(41.60, 39.67, -49.19)
CIE-LCHlch(41.60, 63.19, 308.88°)
OKLaboklab(51.33% 0.0769 -0.1394)
OKLCHoklch(51.33% 0.159 298.9)
XYZxyz(18.1568, 12.2459, 44.5783)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CB4 #8BB44C
analogous
#4C57B4 #754CB4 #A94CB4
triadic
#754CB4 #B4754C #4CB475
tetradic
#754CB4 #B44C57 #8BB44C #4CB4A9
square
#754CB4 #B44C57 #8BB44C #4CB4A9
split-complementary
#754CB4 #B4A94C #57B44C
monochromatic
#3D275E #593A89 #754CB4 #9677C6 #B8A2D8

Accessibility & contrast

On white

6.09
#754CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#754CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CB4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CB4#FFFFFF#000000##FFFFFF
##754CB41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1962B7
Deuteranopia (green-blind)
#2A61B2
Tritanopia (blue-blind)
#676179
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754cb4;
/* rgb */ color: rgb(117, 76, 180);
/* oklch */ color: oklch(51.3% 0.159 298.9);
Tailwind
colors: {
  custom: {
    50: '#a180cb',
    500: '#754cb4',
    950: '#000000',
  },
}
SCSS
$custom: #754cb4;
$custom-light: #a180cb;
$custom-dark: #000000;
JSON
{
  "hex": "#754cb4",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 263.654,
    "s": 40.945,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.15921,
    "h": 298.9
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#754CB4
secondary
#B3C597
accent
#D157A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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