#752782#752782

#752782 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.158 H 321.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#752782
RGBrgb(117, 39, 130)
HSLhsl(291, 54%, 33%)
HSVhsv(291, 70%, 51%)
CMYKcmyk(10%, 70%, 0%, 49%)
CIE-LABlab(31.45, 46.93, -35.19)
CIE-LCHlch(31.45, 58.65, 323.14°)
OKLaboklab(42.94% 0.124 -0.0982)
OKLCHoklch(42.94% 0.158 321.6)
XYZxyz(12.0905, 6.8453, 21.7992)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752782 #348227
analogous
#482782 #752782 #822761
triadic
#752782 #827527 #278275
tetradic
#752782 #824827 #348227 #276182
square
#752782 #824827 #348227 #276182
split-complementary
#752782 #618227 #278248
monochromatic
#200B24 #4B1953 #752782 #9F35B1 #BC57CD

Accessibility & contrast

On white

8.86
#752782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#752782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752782
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752782#FFFFFF#000000##FFFFFF
##7527821.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094485
Deuteranopia (green-blind)
#324D80
Tritanopia (blue-blind)
#763751
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752782;
/* rgb */ color: rgb(117, 39, 130);
/* oklch */ color: oklch(42.9% 0.158 321.6);
Tailwind
colors: {
  custom: {
    50: '#a068a7',
    500: '#752782',
    950: '#000000',
  },
}
SCSS
$custom: #752782;
$custom-light: #a068a7;
$custom-dark: #000000;
JSON
{
  "hex": "#752782",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 291.429,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42944,
    "c": 0.15822,
    "h": 321.6
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#752782
secondary
#61B153
accent
#DD4B60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752782

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

Preview Lab → · Contrast checker → · Palette generator →

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