#754B9B#754B9B

#754B9B is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.6% C 0.129 H 306.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#754B9B
RGBrgb(117, 75, 155)
HSLhsl(272, 35%, 45%)
HSVhsv(272, 52%, 61%)
CMYKcmyk(24.5%, 51.6%, 0%, 39.2%)
CIE-LABlab(39.88, 33.86, -37.08)
CIE-LCHlch(39.88, 50.21, 312.40°)
OKLaboklab(49.58% 0.077 -0.104)
OKLCHoklch(49.58% 0.129 306.5)
XYZxyz(15.7674, 11.1808, 32.3315)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754B9B #719B4B
analogous
#4D4B9B #754B9B #9B4B99
triadic
#754B9B #9B754B #4B9B75
tetradic
#754B9B #9B4D4B #719B4B #4B999B
square
#754B9B #9B4D4B #719B4B #4B999B
split-complementary
#754B9B #999B4B #4B9B4D
monochromatic
#372349 #563772 #754B9B #946CB8 #B295CC

Accessibility & contrast

On white

6.49
#754B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#754B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754B9B
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754B9B#FFFFFF#000000##FFFFFF
##754B9B1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9E
Deuteranopia (green-blind)
#405E99
Tritanopia (blue-blind)
#6F596C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #754b9b;
/* rgb */ color: rgb(117, 75, 155);
/* oklch */ color: oklch(49.6% 0.129 306.5);
Tailwind
colors: {
  custom: {
    50: '#9f7eb9',
    500: '#754b9b',
    950: '#000000',
  },
}
SCSS
$custom: #754b9b;
$custom-light: #9f7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#754b9b",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 155
  },
  "hsl": {
    "h": 271.5,
    "s": 34.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49581,
    "c": 0.12935,
    "h": 306.5
  },
  "luminance": 0.11181
}

Semantic roles & 50–950 ramp

primary
#754B9B
secondary
#A0B88A
accent
#CB5D91
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A11
muted
#7E7C80

Preview Lab

Preview with #754B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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