#752796#752796

#752796 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.177 H 313.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#752796
RGBrgb(117, 39, 150)
HSLhsl(282, 59%, 37%)
HSVhsv(282, 74%, 59%)
CMYKcmyk(22%, 74%, 0%, 41.2%)
CIE-LABlab(32.78, 51.05, -45.41)
CIE-LCHlch(32.78, 68.33, 318.34°)
OKLaboklab(44.31% 0.1224 -0.1282)
OKLCHoklch(44.31% 0.177 313.7)
XYZxyz(13.5657, 7.4354, 29.5688)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752796 #489627
analogous
#3E2796 #752796 #962780
triadic
#752796 #967527 #279675
tetradic
#752796 #963E27 #489627 #278096
square
#752796 #963E27 #489627 #278096
split-complementary
#752796 #809627 #27963E
monochromatic
#290E35 #4F1A65 #752796 #9B34C7 #B361D6

Accessibility & contrast

On white

8.44
#752796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#752796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752796
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752796#FFFFFF#000000##FFFFFF
##7527961.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#1E4F94
Tritanopia (blue-blind)
#723F5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752796;
/* rgb */ color: rgb(117, 39, 150);
/* oklch */ color: oklch(44.3% 0.177 313.7);
Tailwind
colors: {
  custom: {
    50: '#a169b5',
    500: '#752796',
    950: '#000000',
  },
}
SCSS
$custom: #752796;
$custom-light: #a169b5;
$custom-dark: #000000;
JSON
{
  "hex": "#752796",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 282.162,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44314,
    "c": 0.17725,
    "h": 313.7
  },
  "luminance": 0.07435
}

Semantic roles & 50–950 ramp

primary
#752796
secondary
#79BC5D
accent
#E24674
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752796

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

Preview Lab → · Contrast checker → · Palette generator →

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