#752E82#752E82

#752E82 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.148 H 321.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#752E82
RGBrgb(117, 46, 130)
HSLhsl(291, 48%, 35%)
HSVhsv(291, 65%, 51%)
CMYKcmyk(10%, 64.6%, 0%, 49%)
CIE-LABlab(32.59, 43.77, -33.38)
CIE-LCHlch(32.59, 55.04, 322.67°)
OKLaboklab(43.76% 0.1155 -0.093)
OKLCHoklch(43.76% 0.148 321.2)
XYZxyz(12.3419, 7.3482, 21.8830)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E82 #3B822E
analogous
#4B2E82 #752E82 #822E65
triadic
#752E82 #82752E #2E8275
tetradic
#752E82 #824B2E #3B822E #2E6582
square
#752E82 #824B2E #3B822E #2E6582
split-complementary
#752E82 #65822E #2E824B
monochromatic
#240E28 #4C1E55 #752E82 #9E3EAF #B863C8

Accessibility & contrast

On white

8.50
#752E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#752E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E82
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E82#FFFFFF#000000##FFFFFF
##752E821.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4885
Deuteranopia (green-blind)
#374F80
Tritanopia (blue-blind)
#763B53
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752e82;
/* rgb */ color: rgb(117, 46, 130);
/* oklch */ color: oklch(43.8% 0.148 321.2);
Tailwind
colors: {
  custom: {
    50: '#9f6ca7',
    500: '#752e82',
    950: '#000000',
  },
}
SCSS
$custom: #752e82;
$custom-light: #9f6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#752e82",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 290.714,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43762,
    "c": 0.14831,
    "h": 321.2
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#752E82
secondary
#6AAE5D
accent
#D75065
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752E82

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

Preview Lab → · Contrast checker → · Palette generator →

#752E82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva