#754DB9#754DB9

#754DB9 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.164 H 297.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#754DB9
RGBrgb(117, 77, 185)
HSLhsl(262, 44%, 51%)
HSVhsv(262, 58%, 73%)
CMYKcmyk(36.8%, 58.4%, 0%, 27.5%)
CIE-LABlab(42.14, 40.43, -51.26)
CIE-LCHlch(42.14, 65.28, 308.26°)
OKLaboklab(51.83% 0.0756 -0.1455)
OKLCHoklch(51.83% 0.164 297.4)
XYZxyz(18.7447, 12.5922, 47.3325)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DB9 #91B94D
analogous
#4D5BB9 #754DB9 #AB4DB9
triadic
#754DB9 #B9754D #4DB975
tetradic
#754DB9 #B94D5B #91B94D #4DB9AB
square
#754DB9 #B94D5B #91B94D #4DB9AB
split-complementary
#754DB9 #B9AB4D #5BB94D
monochromatic
#3E2764 #593990 #754DB9 #9779CA #B9A5DC

Accessibility & contrast

On white

5.97
#754DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#754DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DB9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DB9#FFFFFF#000000##FFFFFF
##754DB91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1164BD
Deuteranopia (green-blind)
#2562B7
Tritanopia (blue-blind)
#65647B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754db9;
/* rgb */ color: rgb(117, 77, 185);
/* oklch */ color: oklch(51.8% 0.164 297.4);
Tailwind
colors: {
  custom: {
    50: '#a180cf',
    500: '#754db9',
    950: '#000000',
  },
}
SCSS
$custom: #754db9;
$custom-light: #a180cf;
$custom-dark: #000000;
JSON
{
  "hex": "#754db9",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 262.222,
    "s": 43.548,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51833,
    "c": 0.16397,
    "h": 297.4
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#754DB9
secondary
#B7C999
accent
#D355A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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