#754B97#754B97

#754B97 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.3% C 0.124 H 308.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#754B97
RGBrgb(117, 75, 151)
HSLhsl(273, 34%, 44%)
HSVhsv(273, 50%, 59%)
CMYKcmyk(22.5%, 50.3%, 0%, 40.8%)
CIE-LABlab(39.66, 32.88, -35.02)
CIE-LCHlch(39.66, 48.04, 313.19°)
OKLaboklab(49.35% 0.0765 -0.098)
OKLCHoklch(49.35% 0.124 308)
XYZxyz(15.4370, 11.0486, 30.5915)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754B97 #6D974B
analogous
#4F4B97 #754B97 #974B93
triadic
#754B97 #97754B #4B9775
tetradic
#754B97 #974F4B #6D974B #4B9397
square
#754B97 #974F4B #6D974B #4B9397
split-complementary
#754B97 #93974B #4B974F
monochromatic
#362245 #55376E #754B97 #946AB5 #B193C9

Accessibility & contrast

On white

6.54
#754B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#754B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754B97
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754B97#FFFFFF#000000##FFFFFF
##754B971.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#435E95
Tritanopia (blue-blind)
#70586A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #754b97;
/* rgb */ color: rgb(117, 75, 151);
/* oklch */ color: oklch(49.3% 0.124 308.0);
Tailwind
colors: {
  custom: {
    50: '#9f7eb6',
    500: '#754b97',
    950: '#000000',
  },
}
SCSS
$custom: #754b97;
$custom-light: #9f7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#754b97",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 273.158,
    "s": 33.628,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49345,
    "c": 0.12431,
    "h": 308
  },
  "luminance": 0.11048
}

Semantic roles & 50–950 ramp

primary
#754B97
secondary
#9DB688
accent
#CA5E8E
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A11
muted
#7E7C80

Preview Lab

Preview with #754B97

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

Preview Lab → · Contrast checker → · Palette generator →

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