#754285#754285

#754285 is a mid, moderate purple. Relative luminance 0.094; OKLCH L 46.8% C 0.118 H 317.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#754285
RGBrgb(117, 66, 133)
HSLhsl(286, 34%, 39%)
HSVhsv(286, 50%, 52%)
CMYKcmyk(12%, 50.4%, 0%, 47.8%)
CIE-LABlab(36.69, 33.87, -28.75)
CIE-LCHlch(36.69, 44.43, 319.68°)
OKLaboklab(46.83% 0.0875 -0.0797)
OKLCHoklch(46.83% 0.118 317.7)
XYZxyz(13.5174, 9.3722, 23.2827)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754285 #528542
analogous
#544285 #754285 #854274
triadic
#754285 #857542 #428575
tetradic
#754285 #855442 #528542 #427485
square
#754285 #855442 #528542 #427485
split-complementary
#754285 #748542 #428554
monochromatic
#2D1933 #512E5C #754285 #9858AC #B181C0

Accessibility & contrast

On white

7.31
#754285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#754285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #754285
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754285#FFFFFF#000000##FFFFFF
##7542851.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365387
Deuteranopia (green-blind)
#455883
Tritanopia (blue-blind)
#754C5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #754285;
/* rgb */ color: rgb(117, 66, 133);
/* oklch */ color: oklch(46.8% 0.118 317.7);
Tailwind
colors: {
  custom: {
    50: '#9e78a9',
    500: '#754285',
    950: '#000000',
  },
}
SCSS
$custom: #754285;
$custom-light: #9e78a9;
$custom-dark: #000000;
JSON
{
  "hex": "#754285",
  "rgb": {
    "r": 117,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 285.672,
    "s": 33.668,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46826,
    "c": 0.11839,
    "h": 317.7
  },
  "luminance": 0.09372
}

Semantic roles & 50–950 ramp

primary
#754285
secondary
#84AB78
accent
#CA5E78
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0F0910
muted
#7E7B7F

Preview Lab

Preview with #754285

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

Preview Lab → · Contrast checker → · Palette generator →

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