#754CB8#754CB8

#754CB8 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.164 H 297.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#754CB8
RGBrgb(117, 76, 184)
HSLhsl(263, 43%, 51%)
HSVhsv(263, 59%, 72%)
CMYKcmyk(36.4%, 58.7%, 0%, 27.8%)
CIE-LABlab(41.86, 40.73, -51.13)
CIE-LCHlch(41.86, 65.36, 308.54°)
OKLaboklab(51.61% 0.0768 -0.1451)
OKLCHoklch(51.61% 0.164 297.9)
XYZxyz(18.5701, 12.4112, 46.7553)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CB8 #8FB84C
analogous
#4C59B8 #754CB8 #AB4CB8
triadic
#754CB8 #B8754C #4CB875
tetradic
#754CB8 #B84C59 #8FB84C #4CB8AB
square
#754CB8 #B84C59 #8FB84C #4CB8AB
split-complementary
#754CB8 #B8AB4C #59B84C
monochromatic
#3E2763 #59388E #754CB8 #9778C9 #B9A4DB

Accessibility & contrast

On white

6.03
#754CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#754CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CB8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CB8#FFFFFF#000000##FFFFFF
##754CB81.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F63BC
Deuteranopia (green-blind)
#2562B6
Tritanopia (blue-blind)
#66637B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754cb8;
/* rgb */ color: rgb(117, 76, 184);
/* oklch */ color: oklch(51.6% 0.164 297.9);
Tailwind
colors: {
  custom: {
    50: '#a180ce',
    500: '#754cb8',
    950: '#000000',
  },
}
SCSS
$custom: #754cb8;
$custom-light: #a180ce;
$custom-dark: #000000;
JSON
{
  "hex": "#754cb8",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 262.778,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51607,
    "c": 0.16419,
    "h": 297.9
  },
  "luminance": 0.12411
}

Semantic roles & 50–950 ramp

primary
#754CB8
secondary
#B6C898
accent
#D355A3
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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