#752998#752998

#752998 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.177 H 312.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#752998
RGBrgb(117, 41, 152)
HSLhsl(281, 58%, 38%)
HSVhsv(281, 73%, 60%)
CMYKcmyk(23%, 73%, 0%, 40.4%)
CIE-LABlab(33.21, 50.65, -45.94)
CIE-LCHlch(33.21, 68.38, 317.79°)
OKLaboklab(44.67% 0.1201 -0.1297)
OKLCHoklch(44.67% 0.177 312.8)
XYZxyz(13.7955, 7.6352, 30.4467)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752998 #4C9829
analogous
#3D2998 #752998 #982983
triadic
#752998 #987529 #299875
tetradic
#752998 #983D29 #4C9829 #298398
square
#752998 #983D29 #4C9829 #298398
split-complementary
#752998 #839829 #29983D
monochromatic
#2B0F38 #501C68 #752998 #9A36C8 #B266D6

Accessibility & contrast

On white

8.31
#752998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#752998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752998
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752998#FFFFFF#000000##FFFFFF
##7529981.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752998;
/* rgb */ color: rgb(117, 41, 152);
/* oklch */ color: oklch(44.7% 0.177 312.8);
Tailwind
colors: {
  custom: {
    50: '#a16ab7',
    500: '#752998',
    950: '#000000',
  },
}
SCSS
$custom: #752998;
$custom-light: #a16ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#752998",
  "rgb": {
    "r": 117,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 281.081,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44667,
    "c": 0.17679,
    "h": 312.8
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#752998
secondary
#7EBC61
accent
#E14778
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752998

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

Preview Lab → · Contrast checker → · Palette generator →

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