#754CB9#754CB9

#754CB9 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.165 H 297.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#754CB9
RGBrgb(117, 76, 185)
HSLhsl(263, 44%, 51%)
HSVhsv(263, 59%, 73%)
CMYKcmyk(36.8%, 58.9%, 0%, 27.5%)
CIE-LABlab(41.93, 40.99, -51.61)
CIE-LCHlch(41.93, 65.90, 308.46°)
OKLaboklab(51.68% 0.0768 -0.1465)
OKLCHoklch(51.68% 0.165 297.7)
XYZxyz(18.6753, 12.4533, 47.3093)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CB9 #90B94C
analogous
#4C59B9 #754CB9 #AB4CB9
triadic
#754CB9 #B9754C #4CB975
tetradic
#754CB9 #B94C59 #90B94C #4CB9AB
square
#754CB9 #B94C59 #90B94C #4CB9AB
split-complementary
#754CB9 #B9AB4C #59B94C
monochromatic
#3E2764 #593890 #754CB9 #9778CA #B9A4DB

Accessibility & contrast

On white

6.02
#754CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#754CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CB9
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CB9#FFFFFF#000000##FFFFFF
##754CB91.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C63BD
Deuteranopia (green-blind)
#2362B7
Tritanopia (blue-blind)
#65637B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754cb9;
/* rgb */ color: rgb(117, 76, 185);
/* oklch */ color: oklch(51.7% 0.165 297.7);
Tailwind
colors: {
  custom: {
    50: '#a180cf',
    500: '#754cb9',
    950: '#000000',
  },
}
SCSS
$custom: #754cb9;
$custom-light: #a180cf;
$custom-dark: #000000;
JSON
{
  "hex": "#754cb9",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 262.569,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51675,
    "c": 0.16543,
    "h": 297.7
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #754CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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