#752898#752898

#752898 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.178 H 312.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#752898
RGBrgb(117, 40, 152)
HSLhsl(281, 58%, 38%)
HSVhsv(281, 74%, 60%)
CMYKcmyk(23%, 73.7%, 0%, 40.4%)
CIE-LABlab(33.06, 51.07, -46.17)
CIE-LCHlch(33.06, 68.85, 317.88°)
OKLaboklab(44.56% 0.1211 -0.1304)
OKLCHoklch(44.56% 0.178 312.9)
XYZxyz(13.7614, 7.5669, 30.4353)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752898 #4B9828
analogous
#3D2898 #752898 #982883
triadic
#752898 #987528 #289875
tetradic
#752898 #983D28 #4B9828 #288398
square
#752898 #983D28 #4B9828 #288398
split-complementary
#752898 #839828 #28983D
monochromatic
#2A0F37 #501B68 #752898 #9A35C8 #B364D6

Accessibility & contrast

On white

8.36
#752898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#752898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752898
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752898#FFFFFF#000000##FFFFFF
##7528981.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#1D4F96
Tritanopia (blue-blind)
#71415E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752898;
/* rgb */ color: rgb(117, 40, 152);
/* oklch */ color: oklch(44.6% 0.178 312.9);
Tailwind
colors: {
  custom: {
    50: '#a16ab7',
    500: '#752898',
    950: '#000000',
  },
}
SCSS
$custom: #752898;
$custom-light: #a16ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#752898",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 281.25,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44562,
    "c": 0.178,
    "h": 312.9
  },
  "luminance": 0.07566
}

Semantic roles & 50–950 ramp

primary
#752898
secondary
#7DBC60
accent
#E24677
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752898

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

Preview Lab → · Contrast checker → · Palette generator →

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