#754CB7#754CB7

#754CB7 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.163 H 298.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#754CB7
RGBrgb(117, 76, 183)
HSLhsl(263, 43%, 51%)
HSVhsv(263, 58%, 72%)
CMYKcmyk(36.1%, 58.5%, 0%, 28.2%)
CIE-LABlab(41.80, 40.46, -50.64)
CIE-LCHlch(41.80, 64.82, 308.62°)
OKLaboklab(51.54% 0.0768 -0.1437)
OKLCHoklch(51.54% 0.163 298.1)
XYZxyz(18.4657, 12.3695, 46.2052)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CB7 #8EB74C
analogous
#4C58B7 #754CB7 #AA4CB7
triadic
#754CB7 #B7754C #4CB775
tetradic
#754CB7 #B74C58 #8EB74C #4CB7AA
square
#754CB7 #B74C58 #8EB74C #4CB7AA
split-complementary
#754CB7 #B7AA4C #58B74C
monochromatic
#3D2761 #59398D #754CB7 #9778C9 #B8A3DA

Accessibility & contrast

On white

6.04
#754CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754CB7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CB7#FFFFFF#000000##FFFFFF
##754CB71.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1263BB
Deuteranopia (green-blind)
#2662B5
Tritanopia (blue-blind)
#66627A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754cb7;
/* rgb */ color: rgb(117, 76, 183);
/* oklch */ color: oklch(51.5% 0.163 298.1);
Tailwind
colors: {
  custom: {
    50: '#a180cd',
    500: '#754cb7',
    950: '#000000',
  },
}
SCSS
$custom: #754cb7;
$custom-light: #a180cd;
$custom-dark: #000000;
JSON
{
  "hex": "#754cb7",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 262.991,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.16295,
    "h": 298.1
  },
  "luminance": 0.1237
}

Semantic roles & 50–950 ramp

primary
#754CB7
secondary
#B5C798
accent
#D255A3
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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