#752786#752786

#752786 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.162 H 319.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#752786
RGBrgb(117, 39, 134)
HSLhsl(289, 55%, 34%)
HSVhsv(289, 71%, 53%)
CMYKcmyk(12.7%, 70.9%, 0%, 47.5%)
CIE-LABlab(31.70, 47.73, -37.28)
CIE-LCHlch(31.70, 60.56, 322.01°)
OKLaboklab(43.21% 0.1239 -0.1043)
OKLCHoklch(43.21% 0.162 319.9)
XYZxyz(12.3642, 6.9548, 23.2408)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752786 #388627
analogous
#462786 #752786 #862768
triadic
#752786 #867527 #278675
tetradic
#752786 #864627 #388627 #276886
square
#752786 #864627 #388627 #276886
split-complementary
#752786 #688627 #278646
monochromatic
#220B27 #4C1957 #752786 #9E35B5 #BA59CF

Accessibility & contrast

On white

8.78
#752786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#752786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752786
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752786#FFFFFF#000000##FFFFFF
##7527861.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#2F4D84
Tritanopia (blue-blind)
#753853
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752786;
/* rgb */ color: rgb(117, 39, 134);
/* oklch */ color: oklch(43.2% 0.162 319.9);
Tailwind
colors: {
  custom: {
    50: '#a068aa',
    500: '#752786',
    950: '#000000',
  },
}
SCSS
$custom: #752786;
$custom-light: #a068aa;
$custom-dark: #000000;
JSON
{
  "hex": "#752786",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 289.263,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43205,
    "c": 0.16198,
    "h": 319.9
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#752786
secondary
#66B455
accent
#DE4A64
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752786

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

Preview Lab → · Contrast checker → · Palette generator →

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