#754CB6#754CB6

#754CB6 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.162 H 298.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#754CB6
RGBrgb(117, 76, 182)
HSLhsl(263, 42%, 51%)
HSVhsv(263, 58%, 71%)
CMYKcmyk(35.7%, 58.2%, 0%, 28.6%)
CIE-LABlab(41.73, 40.20, -50.16)
CIE-LCHlch(41.73, 64.28, 308.71°)
OKLaboklab(51.47% 0.0768 -0.1423)
OKLCHoklch(51.47% 0.162 298.4)
XYZxyz(18.3620, 12.3280, 45.6590)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CB6 #8DB64C
analogous
#4C58B6 #754CB6 #AA4CB6
triadic
#754CB6 #B6754C #4CB675
tetradic
#754CB6 #B64C58 #8DB64C #4CB6AA
square
#754CB6 #B64C58 #8DB64C #4CB6AA
split-complementary
#754CB6 #B6AA4C #58B64C
monochromatic
#3D2760 #59398C #754CB6 #9777C8 #B8A3D9

Accessibility & contrast

On white

6.06
#754CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754CB6
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CB6#FFFFFF#000000##FFFFFF
##754CB61.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1563B9
Deuteranopia (green-blind)
#2861B4
Tritanopia (blue-blind)
#66627A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754cb6;
/* rgb */ color: rgb(117, 76, 182);
/* oklch */ color: oklch(51.5% 0.162 298.4);
Tailwind
colors: {
  custom: {
    50: '#a180cc',
    500: '#754cb6',
    950: '#000000',
  },
}
SCSS
$custom: #754cb6;
$custom-light: #a180cc;
$custom-dark: #000000;
JSON
{
  "hex": "#754cb6",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 182
  },
  "hsl": {
    "h": 263.208,
    "s": 42.063,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5147,
    "c": 0.1617,
    "h": 298.4
  },
  "luminance": 0.12328
}

Semantic roles & 50–950 ramp

primary
#754CB6
secondary
#B4C697
accent
#D256A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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