#752E94#752E94

#752E94 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.166 H 313.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#752E94
RGBrgb(117, 46, 148)
HSLhsl(282, 53%, 38%)
HSVhsv(282, 69%, 58%)
CMYKcmyk(20.9%, 68.9%, 0%, 42%)
CIE-LABlab(33.72, 47.58, -42.68)
CIE-LCHlch(33.72, 63.91, 318.11°)
OKLaboklab(44.94% 0.115 -0.1202)
OKLCHoklch(44.94% 0.166 313.7)
XYZxyz(13.6575, 7.8744, 28.8117)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E94 #4D942E
analogous
#422E94 #752E94 #942E80
triadic
#752E94 #94752E #2E9475
tetradic
#752E94 #94422E #4D942E #2E8094
square
#752E94 #94422E #4D942E #2E8094
split-complementary
#752E94 #80942E #2E9442
monochromatic
#2B1137 #501F65 #752E94 #9A3DC3 #B26BD1

Accessibility & contrast

On white

8.16
#752E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#752E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E94
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E94#FFFFFF#000000##FFFFFF
##752E941.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#285192
Tritanopia (blue-blind)
#72425D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752e94;
/* rgb */ color: rgb(117, 46, 148);
/* oklch */ color: oklch(44.9% 0.166 313.7);
Tailwind
colors: {
  custom: {
    50: '#a06cb4',
    500: '#752e94',
    950: '#000000',
  },
}
SCSS
$custom: #752e94;
$custom-light: #a06cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#752e94",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 281.765,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44943,
    "c": 0.16637,
    "h": 313.7
  },
  "luminance": 0.07874
}

Semantic roles & 50–950 ramp

primary
#752E94
secondary
#7FB866
accent
#DC4C78
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752E94

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

Preview Lab → · Contrast checker → · Palette generator →

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