#754286#754286

#754286 is a mid, moderate purple. Relative luminance 0.094; OKLCH L 46.9% C 0.120 H 317.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#754286
RGBrgb(117, 66, 134)
HSLhsl(285, 34%, 39%)
HSVhsv(285, 51%, 53%)
CMYKcmyk(12.7%, 50.7%, 0%, 47.5%)
CIE-LABlab(36.74, 34.09, -29.28)
CIE-LCHlch(36.74, 44.94, 319.34°)
OKLaboklab(46.88% 0.0877 -0.0813)
OKLCHoklch(46.88% 0.12 317.2)
XYZxyz(13.5868, 9.4000, 23.6483)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754286 #538642
analogous
#534286 #754286 #864275
triadic
#754286 #867542 #428675
tetradic
#754286 #865342 #538642 #427586
square
#754286 #865342 #538642 #427586
split-complementary
#754286 #758642 #428653
monochromatic
#2D1A34 #512E5D #754286 #9858AD #B181C1

Accessibility & contrast

On white

7.29
#754286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#754286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #754286
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754286#FFFFFF#000000##FFFFFF
##7542861.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355388
Deuteranopia (green-blind)
#445884
Tritanopia (blue-blind)
#754C5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #754286;
/* rgb */ color: rgb(117, 66, 134);
/* oklch */ color: oklch(46.9% 0.120 317.2);
Tailwind
colors: {
  custom: {
    50: '#9e78a9',
    500: '#754286',
    950: '#000000',
  },
}
SCSS
$custom: #754286;
$custom-light: #9e78a9;
$custom-dark: #000000;
JSON
{
  "hex": "#754286",
  "rgb": {
    "r": 117,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 285,
    "s": 34,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46882,
    "c": 0.11954,
    "h": 317.2
  },
  "luminance": 0.094
}

Semantic roles & 50–950 ramp

primary
#754286
secondary
#85AC78
accent
#CA5E79
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0F0910
muted
#7E7B7F

Preview Lab

Preview with #754286

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

Preview Lab → · Contrast checker → · Palette generator →

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