#754281#754281

#754281 is a mid, moderate purple. Relative luminance 0.093; OKLCH L 46.6% C 0.114 H 319.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#754281
RGBrgb(117, 66, 129)
HSLhsl(289, 32%, 38%)
HSVhsv(289, 49%, 51%)
CMYKcmyk(9.3%, 48.8%, 0%, 49.4%)
CIE-LABlab(36.49, 32.99, -26.61)
CIE-LCHlch(36.49, 42.38, 321.12°)
OKLaboklab(46.61% 0.0869 -0.0735)
OKLCHoklch(46.61% 0.114 319.8)
XYZxyz(13.2463, 9.2638, 21.8550)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754281 #4E8142
analogous
#554281 #754281 #81426D
triadic
#754281 #817542 #428175
tetradic
#754281 #815542 #4E8142 #426D81
square
#754281 #815542 #4E8142 #426D81
split-complementary
#754281 #6D8142 #428155
monochromatic
#2C1930 #502D59 #754281 #9957A9 #B280BE

Accessibility & contrast

On white

7.36
#754281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#754281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #754281
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754281#FFFFFF#000000##FFFFFF
##7542811.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385283
Deuteranopia (green-blind)
#47587F
Tritanopia (blue-blind)
#764A5B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #754281;
/* rgb */ color: rgb(117, 66, 129);
/* oklch */ color: oklch(46.6% 0.114 319.8);
Tailwind
colors: {
  custom: {
    50: '#9e78a6',
    500: '#754281',
    950: '#000000',
  },
}
SCSS
$custom: #754281;
$custom-light: #9e78a6;
$custom-dark: #000000;
JSON
{
  "hex": "#754281",
  "rgb": {
    "r": 117,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 288.571,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46608,
    "c": 0.11384,
    "h": 319.8
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#754281
secondary
#80A976
accent
#C85F73
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E090F
muted
#7E7B7F

Preview Lab

Preview with #754281

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

Preview Lab → · Contrast checker → · Palette generator →

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