#754287#754287

#754287 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 46.9% C 0.121 H 316.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#754287
RGBrgb(117, 66, 135)
HSLhsl(284, 34%, 39%)
HSVhsv(284, 51%, 53%)
CMYKcmyk(13.3%, 51.1%, 0%, 47.1%)
CIE-LABlab(36.80, 34.32, -29.82)
CIE-LCHlch(36.80, 45.46, 319.01°)
OKLaboklab(46.94% 0.0878 -0.0828)
OKLCHoklch(46.94% 0.121 316.7)
XYZxyz(13.6569, 9.4280, 24.0174)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754287 #548742
analogous
#534287 #754287 #874277
triadic
#754287 #877542 #428775
tetradic
#754287 #875342 #548742 #427787
square
#754287 #875342 #548742 #427787
split-complementary
#754287 #778742 #428753
monochromatic
#2E1A35 #512E5E #754287 #9759AE #B182C2

Accessibility & contrast

On white

7.28
#754287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#754287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #754287
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754287#FFFFFF#000000##FFFFFF
##7542871.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345389
Deuteranopia (green-blind)
#445885
Tritanopia (blue-blind)
#744C5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #754287;
/* rgb */ color: rgb(117, 66, 135);
/* oklch */ color: oklch(46.9% 0.121 316.7);
Tailwind
colors: {
  custom: {
    50: '#9e78aa',
    500: '#754287',
    950: '#000000',
  },
}
SCSS
$custom: #754287;
$custom-light: #9e78aa;
$custom-dark: #000000;
JSON
{
  "hex": "#754287",
  "rgb": {
    "r": 117,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 284.348,
    "s": 34.328,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46938,
    "c": 0.1207,
    "h": 316.7
  },
  "luminance": 0.09428
}

Semantic roles & 50–950 ramp

primary
#754287
secondary
#86AC78
accent
#CA5D7A
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0F0910
muted
#7E7B7F

Preview Lab

Preview with #754287

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

Preview Lab → · Contrast checker → · Palette generator →

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