#754271#754271

#754271 is a mid, moderate purple. Relative luminance 0.089; OKLCH L 45.8% C 0.097 H 329.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#754271
RGBrgb(117, 66, 113)
HSLhsl(305, 28%, 36%)
HSVhsv(305, 44%, 46%)
CMYKcmyk(0%, 43.6%, 3.4%, 54.1%)
CIE-LABlab(35.74, 29.67, -17.83)
CIE-LCHlch(35.74, 34.61, 329.00°)
OKLaboklab(45.8% 0.0835 -0.0484)
OKLCHoklch(45.8% 0.097 329.9)
XYZxyz(12.2648, 8.8712, 16.6859)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754271 #427546
analogous
#5F4275 #754271 #754257
triadic
#754271 #717542 #427175
tetradic
#754271 #755F42 #427546 #425775
square
#754271 #755F42 #427546 #425775
split-complementary
#754271 #577542 #42755F
monochromatic
#271625 #4E2C4B #754271 #9C5897 #B57CB1

Accessibility & contrast

On white

7.57
#754271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#754271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #754271
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754271#FFFFFF#000000##FFFFFF
##7542711.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405073
Deuteranopia (green-blind)
#4D576F
Tritanopia (blue-blind)
#794654
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #754271;
/* rgb */ color: rgb(117, 66, 113);
/* oklch */ color: oklch(45.8% 0.097 329.9);
Tailwind
colors: {
  custom: {
    50: '#9e789a',
    500: '#754271',
    950: '#000000',
  },
}
SCSS
$custom: #754271;
$custom-light: #9e789a;
$custom-dark: #000000;
JSON
{
  "hex": "#754271",
  "rgb": {
    "r": 117,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 304.706,
    "s": 27.869,
    "l": 35.882
  },
  "oklch": {
    "l": 0.458,
    "c": 0.09657,
    "h": 329.9
  },
  "luminance": 0.08871
}

Semantic roles & 50–950 ramp

primary
#754271
secondary
#72A076
accent
#C46B64
background
#F9F7F9
surface
#F2EDF2
border
#CCC8CC
text
#0E090E
muted
#7E7B7E

Preview Lab

Preview with #754271

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

Preview Lab → · Contrast checker → · Palette generator →

#754271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva